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