By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,625 Members | 2,250 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,625 IT Pros & Developers. It's quick & easy.

Choose what kind of DOCTYPE?

P: 1
Choose what kind of DOCTYPE?
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd“>
A.1.2. XHTML-1.0-Transitional
The file DTD/xhtml1-transitional.dtd is a normative part of this specification. The annotated contents of this file are available in this separate section for completeness.

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd“>

A.1.3. XHTML-1.0-Frameset
The file DTD/xhtml1-frameset.dtd is a normative part of this specification. The annotated contents of this file are available in this separate section for completeness.

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Frameset//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd“>

http://www.ie16.com
Feb 29 '08 #1
Share this Question
Share on Google+
2 Replies


ronverdonk
Expert 2.5K+
P: 4,258
Welcome to The Scripts!

I would advise you to submit this to the HowTo's section of the Scripts, so more members than just the HTML forum visitors can benefit from it.

Ronald
Mar 1 '08 #2

drhowarddrfine
Expert 5K+
P: 7,435
There already is an article written about doctypes in the Howto section. That link provides bad suggestions concerning doctypes and I would ignore it. They suggest using transitional so they can get away with bad markup.

The ONLY doctype people should use nowadays for new web pages is HTML 4.01 Strict or XHTML Strict (and I am not so confident in the XHTML one). There is NO need for ANY other (special case, frameset for frames) and, in fact, it would be WRONG to do so.
Mar 1 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.