W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: HTML5 differences from HTML4 editor's draft

From: Dão Gottwald <dao@design-noir.de>
Date: Mon, 02 Jul 2007 15:31:01 +0200
Message-ID: <4688FE15.9060709@design-noir.de>
To: Johannes Lichtenberger <jl@nabooisland.com>
CC: Lachlan Hunt <lachlan.hunt@lachy.id.au>, HTML WG <public-html@w3.org>

Johannes Lichtenberger schrieb:
> On Sunday, 24. June 2007 19:01:09 Lachlan Hunt wrote:
>> Johannes Lichtenberger wrote:
>>> I don't really understand what "The a element without an href attribute
>>> now represents a "placeholder link"." means, I can't really imagine what
>>> a placeholder link should be or what it's used for.
> 
> I'm not sure if it's a difference to HTML4 , the recommodation only 
> states "Authors may also create an A element that specifies no anchors, i.e., 
> that doesn't specify href,  name, or id. Values for these attributes may be 
> set at a later time through scripts.". It seems an a-element without 
> attributes in HTML4 hasn't got a special "name" and in my Opionion it's not 
> really a link or "placeholder link", I don't think it needs a special name. 

I agree. I've been using <a> without attributes for some time, e.g.
<a>dao at design-noir.de</a> plus a script that converts the content and
adds the href attribute. As far as I remember, that's perfectly valid
HTML 4.01 and XHTML 1.0, so I fail to see how HTML 5 makes a difference.

Dao
Received on Monday, 2 July 2007 15:51:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:02 GMT