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

Re: question about DOCTYPE

From: Dan Connolly <connolly@w3.org>
Date: Thu, 27 Jul 2000 09:08:19 -0500
Message-ID: <39804253.A52D449F@w3.org>
To: Karl Dubost <Karl@w3.org>
CC: www-html@w3.org


Karl Dubost wrote:
> 
> On 27 Jul 2000, Pierre Crescenzo (I3S-UNSA-CNRS-CNAM) wrote:
> >
> > May I write "DTD/xhtml1-strict.dtd" or
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" in DOCTYPE? Why?
> 
> As defined in [1], you should write
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">

That's a bug (copy to www-html-editor to report it);
it won't work unless your document
is on the W3C web site. Think of:

	<a href="DTD/xhtml1-strict.dtd">dtd</a>

You should write:

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

> 
> [1] http://www.w3.org/TR/xhtml1/#normative
> 
> --
> Karl Dubost / W3C - Conformance Manager
>           http://www.w3.org/
> 
>      --- Be Strict To Be Cool! ---

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Thursday, 27 July 2000 10:12:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:43 GMT