Re: Question: Checking XHTML

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 UTC