[whatwg] [html5] 2.6.1. The a element
Anne van Kesteren
fora at annevankesteren.nl
Tue Apr 12 07:32:18 PDT 2005
Ian Hickson wrote:
>> Shouldn't the XML model (and therefore the specification) allow
>> nested links?
>
> I don't know, what would it mean? What would the DOM events
> processing model be?
Perhaps we could ask the XLink WG (or XML Core, or whatever) and the
HTML WG (XHTML 2)...
> Fair enough. So what does an <a> element with no href="" represent?
> Nothing? Or I guess we could make the href="" attribute required.
With nothing it represents a semantically meaningless element, like
SPAN. Making the HREF attribute required seems like a good thing to do.
--
Anne van Kesteren
<http://annevankesteren.nl/>
More information about the whatwg
mailing list