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

[whatwg] [html5] 2.6.1. The a element

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 12 Apr 2005 14:38:38 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0504121437510.12923@dhalsim.dreamhost.com>
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

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