Search
 
SCRIPT & CODE EXAMPLE
 

HTML

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>
Comment

html disable anchor link

a.isDisabled {
  pointer-events: none;
}
Comment

how to disable link in hmtl

.isDisabled {
  color: currentColor;
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
  pointer-events: none;
}
Comment

disable an anchor tag

<a href="link.html" class="disabled">Link</a>
Comment

PREVIOUS NEXT
Code Example
Html :: routerlinkactiveoptions 
Html :: how to add script in html head 
Html :: html a link to section on page 
Html :: html copy button 
Html :: javascript change the number of range on change 
Html :: class vs id in html 
Html :: comments in html 
Html :: fixed footer button css 
Html :: is html a programming language 
Html :: tailwind css float right 
Html :: form hide in html 
Html :: go to id html 
Html :: route link prop vue 
Html :: html color code for green 
Html :: how to make a draggable menu html/js jquery 
Html :: html image onclick 
Html :: phone html 
Html :: vscode format html on save 
Html :: html img tag with alt 
Html :: parse html with regex 
Html :: Div and span 
Html :: is html easy? 
Html :: differences between html and xhtml 
Html :: html how to move element to the bottom right of page 
Html :: django python variable in html 
Html :: how to shift div to right 
Html :: button href 
Html :: markup embed youtube 
Html :: how to add preloader in html page 
Html :: radio buttons 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =