anchor tag disabled code example
Example 1: html disable anchor link
a.isDisabled {
pointer-events: none;
}
Example 2: 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>