W3C home > Mailing lists > Public > www-html@w3.org > October 1998

Re: Specifications for the NOHREF in various tags

From: John Whelan <whelan@itp.unibe.ch>
Date: Fri, 16 Oct 1998 05:50:41 -0400 (EDT)
Message-Id: <199810160949.LAA23724@itp9.unibe.ch>
To: jkorpela@alpha.hut.fi, murray@mha.ca
Cc: www-html@w3.org
> I've always wondered why NOHREF isn't supported by <A>.  It is often
> desireable to have links that go nowhere to use as javascript event
> sources.  Some people use <A HREF="#"> but this is not ideal as it gets
> added to the url in most UAs if clicked, not to mention that it
> syntatically lacks elegance.  Although events can easily be triggered
> using the <DIV> tag,

Actually, SPAN would be a closer analogue for A.

					John T. Whelan
					whelan@iname.com
					http://www.slack.net/~whelan/
Received on Friday, 16 October 1998 12:55:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:37 GMT