Answers for "anchor link disable"

2

html disable anchor link

a.isDisabled {
  pointer-events: none;
}
Posted by: Guest on April-16-2020
0

how to disable a link

<style>
.isDisabled {
  color: currentColor;
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
}
</style>
<a class="isDisabled" href="https://unfetteredthoughts.net">Disabled Link</a>
Posted by: Guest on July-18-2020
1

disable an anchor tag

<a href="link.html" class="disabled">Link</a>
Posted by: Guest on June-13-2021

Browse Popular Code Answers by Language