W3C home > Mailing lists > Public > site-comments@w3.org > October 2004

Re: Syntax on the website

From: Susan Lesch <lesch@w3.org>
Date: Fri, 8 Oct 2004 09:35:32 -0500
Message-Id: <4EE17290-1937-11D9-902C-000A95D04A34@w3.org>
Cc: site-comments@w3.org
To: Mamas Gendera <mamasor@tiscali.co.uk>
Hello, Mamas,

> you put width and height attributes in an img tag. I thought this 
> wasn't
> allowed in XHTML strict. Am I incorrect?

Yes, they are allowed. Here is the DTD and annotated DTD for XHTML 1.0 
Strict (look for the attribute list for img):

http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict

Hope this helps,
-- 
Susan Lesch           http://www.w3.org/People/Lesch/
mailto:lesch@w3.org               tel:+1.858.483.4819
World Wide Web Consortium (W3C)    http://www.w3.org/

Received on Friday, 8 October 2004 14:35:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:29 GMT