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

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

From: S. Mike Dierken <mdierken@hotmail.com>
Date: Fri, 2 Sep 2005 20:07:46 -0700
Message-ID: <BAY101-DAV6F8B73EA461E2B9C6DD48D8A20@phx.gbl>
> An empty <a> element is semantically meaningless.
An <a> element can be a target of a link - it is addressable via a URI. Does
that count as meaningless?

See http://www.w3.org/TR/REC-html40/struct/links.html#h-12.1
The destination anchor of a link may be an element within an HTML document.
The destination anchor must be given an anchor name and any URI addressing
this anchor must include the name as its fragment identifier.

Destination anchors in HTML documents may be specified either by the A
element (naming it with the name attribute), or by any other element (naming
with the id attribute).
Received on Friday, 2 September 2005 20:07:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:23 UTC