on click disabled code example
Example 1: 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>
Example 2: disable onclick
pointer-events: none;
cursor: default;