[whatwg] [html5] 2.6.1. The a element

On Tue, 12 Apr 2005, Anne van Kesteren 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)...

I volunteer you for that task. :-P In the meantime...


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

Okie dokie.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 12 April 2005 07:38:38 UTC