document.getElementById("nothing").addEventListener("click", function(event){
event.preventDefault()
});
<a id="nothing" href="#">Link</a>
Code Example |
---|
Html :: images html |
Html :: meta tags |
Html :: large text class |
Html :: bootstrap tab |
Html :: input tags html |
Html :: html cite |
Html :: can se have same id for radio button in html |
Html :: how to customize button in html |
Html :: reset button javascript onclick |
Html :: html center text |
Html :: Hyperlink to text simple html a tag |
Html :: html line break |
Html :: insert text html |
Html :: html code heavy right arrow |
Html :: html ecrire en gras |
Html :: underline code |
Html :: wp audio volume |
Html :: maven langage level |
Html :: bootstrap dropdown |
Html :: avoid textarea user input |
Html :: html add hyperlink to button |
Html :: data-block-on-consent |
Html :: collapse boostrap |
Html :: index.html download |
Html :: how to create a carousel by using bootstrap?? |
Html :: Centered Menu Semantic UI |
Html :: md-autocomplete |
Html :: git check changes between commits |
Html :: section tag |
Html :: time in website |