Asked 2 years ago
18 Apr 2022
Views 639
sarah

sarah posted

HTML : How to show the cursor hand when a user hovers over a list item?





<ul>
  <li>1. America</li>
  <li>2. England</li>
  <li>3. Japan</li>
  <li>4.India </li>
</ul>


how to show the cursor hand when hovering the li list tag? it should be done with HTML and CSS not with javascript




css-learner

css-learner
answered Apr 18 '22 00:00


CSS :

 li { cursor: pointer; }


make CSS by <li> tag, give cursor have properties pointer.
Post Answer