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

RE: Specifications for the NOHREF in various tags

From: Braden N. McDaniel <braden@shadow.net>
Date: Fri, 16 Oct 1998 04:01:18 -0400
To: "Murray Macdonald" <murray@mha.ca>, "Jukka Korpela" <jkorpela@alpha.hut.fi>
Cc: <www-html@w3.org>
Message-ID: <002c01bdf8db$27fe5eb0$01000080@bonezero>
> -----Original Message-----
> From: www-html-request@w3.org [mailto:www-html-request@w3.org]On Behalf
> Of Murray Macdonald
> Sent: Friday, October 16, 1998 3:12 AM
> To: Jukka Korpela
> Cc: www-html@w3.org
> Subject: Specifications for the NOHREF in various tags
> Jukka Korpela wrote:
> >   **) In AREA, the special keyword value NOHREF is allowed, too.
> 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, I still feel that the <A> tag should support
> NOHREF.  Comments?

As you note, other elements can be used to trigger events. *Why* do you feel
that A should support functionality that is available elsewhere? "A" is, as
the name implies, for "anchors."


Received on Friday, 16 October 1998 04:00:40 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:49 UTC