Answers for "anchor tag disabled"

2

html disable anchor link

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

disabled a click

// CSS
.not-active {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: black;
}

// HTML
<a href="link.html" class="not-active">Link</a>
Posted by: Guest on October-29-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