Re: align="center"

Bertilo Wennergren wrote:
> 
> The following page validates as strict XHTML 1.0 at
> <http://validator.w3.org/>.
> It shouldn't.
> 
> ---------------------------------------------------------------------------
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <title>Test</title>
> </head>
> <body>
> 
> <div align="center">
> Text
> </div>
> 
> </body>
> </html>

It is probably because the W3C validator only checks for XML validity,
and if there is a correct DOCTYPE in the top of the document (These
things are not for sure, but just my experience)


-- 
MVH

Mikkel Bjerg

Received on Tuesday, 23 May 2000 04:06:46 UTC