html how to give false link
snippet in html

html how to give false link

user6815

document.getElementById("nothing").addEventListener("click", function(event){
event.preventDefault()
});

html how to give false link

user5700

<a id="nothing" href="#">Link</a>