a href none code example
Example 1: href do nothing
<a href="javascript:void(0);">link</a>
Example 2: link with no link html
<a href="" onclick="return false;">do absolutely nothing</a>
<a href="javascript:void(0);">link</a>
<a href="" onclick="return false;">do absolutely nothing</a>