Links vs. JavaScript Event Handlers

Anchor tags are frequently used to do something other than what they were meant for, such as executing some JavaScript code.  I’m talking about cases such as these: <a href=”javascript:doSomething()”>Click Here</a> // or… <a href=”javascript:void(0)” onclick=”doSomething()”>Click Here</a> Both of these …