W3C home > Mailing lists > Public > www-validator@w3.org > July 2000

Re: Question: Checking XHTML

From: Samuel Hocevar <sam@via.ecp.fr>
Date: Fri, 28 Jul 2000 20:01:59 +0200
To: "Karl Hebenstreit, Jr." <karl.hebenstreit@gsa.gov>
Cc: www-validator@w3.org
Message-ID: <20000728200159.F24722@via.ecp.fr>
On Thu, Jul 27, 2000, Karl Hebenstreit, Jr. wrote:
> Does the Validator automatically detect XHTML pages and check them for
> XHTML validity, or is there a parameter that needs to be sent?

   It will check the DOCTYPE, for instance in XHTML pages :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

   And for HTML 4.0 transitional :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
       "http://www.w3.org/TR/REC-html40/loose.dtd">

Regards,
Sam.
-- 
Samuel Hocevar <sam@via.ecp.fr> - http://www.via.ecp.fr/~sam/
     Do not try and fight the Cabal. That's impossible.
  Instead only try to realize the truth. There is no Cabal.
Received on Friday, 28 July 2000 14:02:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:54 GMT