I use jQuery, I need to make some anchor tags perform no action.
I usually write it like this:
link
H
You can have an HTML anchor (a tag) without an href attribute. Leave off the href attribute & it won't link to anything:
a
href