Re: name-attribute on image-element with id

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 UTC