Answers for "anchor tag in html disabled"

CSS
4

disable a tag

.disable{
	pointer-events:none;
}

with jquery add this class to you element to disable is and remove class to enable it
Posted by: Guest on May-28-2020
0

make an anchor tag inactive

<style>
.disabled-link {
  pointer-events: none;
}
</style>
<a href="https://google.com" class="disabled-link">Google.com</a>
Posted by: Guest on August-03-2021

Browse Popular Code Answers by Language