I was just woundring what is the prefered way of skipping the behavior that the browser changes the location when clicking on a link element (A) with inline code.
<a href="javascript:void(0)">void(0)</a> // I have always used this one
Or
<a href="javascript:;">:;</a> // This one is simple and now a days my favourite
Or
<a href="#">#</a> // Scroll to the top
Or how do you do, and WHY? What is best practies?