Re: question about DOCTYPE

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:21 UTC