What should I put in the href when I prototype?

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-05-26T08:47:27Z Indexed on 2010/05/26 8:51 UTC
Read the original article Hit count: 147

Filed under:
|

When protyping we often do empty anchors. A very common way to do this is to do something like:

<a href="#">Go here</a>

But if the client clicks this link, the page will scroll to the top. But if we leave out the href attribute, the link won't behave like a link.

I've see stuff like:

<a href="javascript;">Go here</a>

But it doesn't look right.

Any other ideas?

© Stack Overflow or respective owner

Related posts about html

Related posts about prototyping