make link unclickable javascript code example Example: how to make an anchor tag unclickable .disableClick{ pointer-events: none; }