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 BjergReceived on Tuesday, 23 May 2000 04:06:46 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:16 UTC