I have a requirement, in which I want to use anchor tag (<a>) of HTML but without pointer cursor, as I don't want to show user if it is clickable, I don't want to use <span> or any other HTML tag, so how to remove pointer cursor from anchor tag using HTML/CSS or javascript?
In CSS try the code below to remove cursor/pointer from anchor (<a>) tag
a.Class{
cursor:default;
}
You may have to remove underline also while hovering link, then you can use
.class:hover{
text-decoration:none;
}
To remove hand pointer from all instance of anchor tag in HTML, you can use below CSS
a{
cursor: default;
}
OR
You can use inline-css in HTML
<a href="/url" style="cursor:default">No Hand Pointer</a>
I have shared My answer in this link: how-to-remove-hand-symbol-from-anchor-tag-using-css/
Subscribe to our weekly Newsletter & Keep getting latest article/questions in your inbox weekly