RE: Specifications for the NOHREF in various tags

> -----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."

Braden

<http://www.endoframe.com>

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