Make a HTML link that does nothing (literally nothing)

The following will prevent your href from being ran

<a href="#" onclick="return false;">

If you are using jQuery, event.preventDefault() can be used

Leave a Comment