W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2004

Re: name-attribute on image-element with id

From: Steffen Glückselig <glueckselig@gungfu.de>
Date: Fri, 14 May 2004 14:24:27 +0200
To: "Bjoern Hoehrmann" <derhoermi@gmx.net>
Cc: html-tidy@w3.org
Message-ID: <opr7zoq1jtevd3wx@smtp.gungfu.de>

On Fri, 14 May 2004 11:37:36 +0200, Bjoern Hoehrmann <derhoermi@gmx.net>  
wrote:

>> I just stumbled over this one: I have some img-Tags with id-attribute.
>> Tidy inserts a name-attribute which is not xhtml-conform.
>
> No, see <http://www.w3.org/TR/xhtml1/#h-4.10>, <img> elements may have
> both a name and id attribute. XHTML 1.0 Strict and XHTML 1.1 disallow
> the name attribute
Since I am developing for XHTML 1.0 strict this in-validates my pages.  
Since I don't want to compile tidy myself I'd guess I'll have to wait for  
that option...


regards
Steffen
Received on Friday, 14 May 2004 08:21:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:55 GMT