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

Jim Ley jim.ley at gmail.com
Sat Sep 3 04:08:03 PDT 2005


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



More information about the whatwg mailing list