How to Disable an href HTML CSS
Disable an href when you do not want it to be clicked.
How to disable href for a link.
<style> .disabled { pointer-events: none; cursor: default; } </style> <a href="somelink.html" class="disabled">Some link</a>
You can also use JavaScript.
$('.disabled').click(function(e){ e.preventDefault(); })