Re: Syntax on the website

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 UTC