css on hover mouse hand code example Example 1: on hover change cursor li { cursor: pointer; } Example 2: show hand icon on hover javascript li { cursor: pointer; }