News for hackers. Stuff that matters.
Re:Ask HN: the current state of the empty # in 'a href' by jasonkester on Sunday March 27, 2011 @05:46AM (#2374625)
I've always been a fan of

  <a href="javascript:void(null);">oi!</a>
It'll look like a link (unlike leaving the href empty), and wont ever perform wacky page scrolling tricks or mess up your URL bar.

That's been my signature since 1997. Don't see any reason to change it...

Re:Ask HN: the current state of the empty # in 'a href' by pygorex1 on Sunday March 27, 2011 @10:38PM (#2376877)
Here's a shorter version:

    <a href="javascript:;"></a>