If your element is not actually supposed to link the user someplace, don't make it an anchor element. If you're using tags just to get the underline/cursor change - don't. Use CSS on a
(or other element) instead.
span.link {
text-decoration: underline;
color: blue;
cursor: pointer;
}
Keep your HTML semantic and use anchor elements only when you want to link the user somewhere.