Reputation: 5337
The anchor tag below works. However, my question is, 'how can the anchor tag force the cursor to change its appearance not to Hand (like most links do) when hovering over it?'
<a href="javascript:void(0);" onclick="doSomethingh('value');">
<label class="someClass">Click Me</Label>
</a>
Edited
I want cursor to appear as Hand but it is showing pointer
Upvotes: 0
Views: 376
Reputation: 57322
This can be done by CSS cursor property.The cursor property specifies the type of cursor to be displayed when pointing on an element.
.someClass {
cursor: pointer;
}
now consider white box is someClass
than on mouse over on the someClass
cursor will look like below
Good Read
Upvotes: 2