I use jQuery, I need to make some anchor tags perform no action.
I usually write it like this:
link
H
The correct way to handle this is to "break" the link with jQuery when you handle the link
HTML
My Link
JS
$('#theLink').click(function(ev){
// do whatever you want here
ev.preventDefault();
ev.stopPropagation();
});
Those final two calls stop the browser interpreting the click.