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

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