467,874 Members | 1,761 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,874 developers. It's quick & easy.

Choose what kind of DOCTYPE?

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
  • viewed: 1207
Share:
2 Replies
ronverdonk
Expert 4TB
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 4TB
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.

Similar topics

39 posts views Thread by Holly | last post: by
2 posts views Thread by DartmanX | last post: by
25 posts views Thread by Viken Karaguesian | last post: by
24 posts views Thread by Jim Michaels | last post: by
6 posts views Thread by WT | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.