RE: Tidy and XHTML Strict DTD

Hi Alex, just tried it and it doesn't validate...

One other question, if I have tidy set to doc type auto shouldn't it
change a document from transitional to strict when appropriate?

If not, this would be an excellent feature.


> Well, you might just be in luck. This W3C document
> (http://www.w3.org/TR/xhtml11/changes.html) details the 
> changes between
> XHTML 1.0 and XHTML 1.1. There, it lists "-border" for IMG in 
> XHTML 1.1,
> implying that "border" is *now* deprecated in XHTML 1.1, and 
> that it wasn't
> deprecated in XHTML 1.0.
> 
> So, I would deduce that even if you do use the "border" 
> attribute on your
> images, that the document should still validate to XHTML 1.0.

Received on Tuesday, 13 February 2001 10:44:10 UTC