W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2000

XHTML DOC Type DTD

From: <ODWORLD@aol.com>
Date: Tue, 6 Jun 2000 20:09:48 -0400 (EDT)
Message-ID: <38.6ea9f47.266eec8d@aol.com>
To: html-tidy@w3.org
At  < http://www.w3.org/TR/xhtml1/#docconf >

they show the Doc Type for XHTML 1.0 Transitional to be:

<!DOCTYPE html 
                       PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                       "DTD/xhtml1-transitional.dtd">

but when I use HTML Tidy (as part of HTML-Kit) to convert a document to XHTML 
1.0 Transitional, it shows the DOC Type should be:

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Which is correct?

(Also, Netscape 2.0 doesn't know what to do with the <?xml version="1.0"?>
It shows it at the top of the page and doesn't hide it.)

 
--Rob Thomas
robert@theoutdoorworld.com
Outdoor World, CA
www.theoutdoorworld.com
1-888-344-9500
Received on Tuesday, 20 June 2000 13:08:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT