W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2005

[whatwg] [WA1] The a element could be empty

From: Jim Ley <jim.ley@gmail.com>
Date: Sat, 3 Sep 2005 12:08:03 +0100
Message-ID: <851c8d3105090304086b1bbaa0@mail.gmail.com>
On 9/3/05, S. Mike Dierken <mdierken at hotmail.com> wrote:
> Destination anchors in HTML documents may be specified either by the A
> element (naming it with the name attribute),

Yes, but it still shouldn't be empty, how can you link to part of a
page that's nothing?   The same ability to link to an a can be done by
putting something inside the a.  Non-Empty is a good thing in the
spec.

Indeed there are even implementations about that:

<a style="position:absolute;top:100px;" name=chicken></a>
<a href="#chicken">see chicken</a> 

currently does nothing...
Received on Saturday, 3 September 2005 04:08:03 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:42 UTC