[whatwg] [html5] 2.6.1. The a element

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

Received on Tuesday, 12 April 2005 07:32:18 UTC