- From: Mikkel Bjerg <mbjerg@daimi.au.dk>
- Date: Tue, 23 May 2000 10:06:29 +0200
- To: www-validator@w3.org
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