Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

how to stop text in html from becoming 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>
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #stop #text #html #link
ADD COMMENT
Topic
Name
8+8 =