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

Re: Validator puzzle

From: Samuel Hocevar <sam@via.ecp.fr>
Date: Wed, 3 May 2000 07:30:51 +0200
To: www-validator@w3.org
Cc: Charles Stewart <cas@iname.com>
Message-ID: <20000503073051.H9284@via.ecp.fr>
On Tue, May 02, 2000, Charles Stewart wrote:
> I have been attempting to rewrite my default template for HTML 4.0 in
> such a way that it was valid XHTML.  However I was unable to validate
> my efforts (http://achilles.bu.edu/cas/template.html)

   You cannot validate both HTML 4.0 and XHTML. In order to validate
XHTML, you have to change the DOCTYPE in your document, for instance :

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


By the way, there is a typo on the 14th line, you forgot to close the
quotes in rel="StyleSheet"

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 Wednesday, 3 May 2000 01:30:53 GMT

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