Doctype or no Doctype

This is a discussion on "Doctype or no Doctype" within the Website Planning section. This forum, and the thread "Doctype or no Doctype are both part of the Planning Your Website category.



Go Back   Webforumz.com > Main Forums > Planning Your Website > Website Planning

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 15th, 2007, 14:02
Junior Member
Join Date: May 2007
Location: london
Age: 26
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Doctype or no Doctype

Hi all

I would like to know what doctype to use. I know that their is three doctypes.
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

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

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

and their is five dtd. But what doctype do you use, and what
DTD do you use as well.

I was thinking in useing a strict dotype with a loosse.dtd.
I did not know the out come yet. I will post the out come
in a few days time.

Can some take a guese what the out come will be?
Reply With Quote

  #2 (permalink)  
Old Jun 15th, 2007, 14:07
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Doctype or no Doctype

A DTD IS a DOCTYPE!

http://www.w3.org/QA/Tips/Doctype
Quote:
Given its syntax, the DTD declaration is often called, for short, "Doctype".
And there are much more than 3 DOCTYPES!

Recommended DTDs to use in your Web document.

I suggest always using STRICT doctypes. HTML or XHTML.
Reply With Quote
  #3 (permalink)  
Old Jun 15th, 2007, 17:33
BGarner's Avatar
Reputable Member
Join Date: Oct 2006
Location: In front of the computer.
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Doctype or no Doctype

XHTML Strict all the way. I think most designers here will tell you the same thing.
Reply With Quote
  #4 (permalink)  
Old Jun 15th, 2007, 17:46
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Doctype or no Doctype

or HTML strict
Reply With Quote
  #5 (permalink)  
Old Jun 15th, 2007, 20:33
SuperMember

SuperMember
Join Date: May 2006
Location: North West, UK
Age: 21
Posts: 1,173
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Doctype or no Doctype

Lets not start another discussion on whether to go with html or xhtml but just make sure it's strict and that you are implementing it properly.

Pete.
Reply With Quote
  #6 (permalink)  
Old Jun 15th, 2007, 21:22
sannbe's Avatar
SuperMember

SuperMember
Join Date: Dec 2006
Location: San Francisco
Age: 57
Posts: 1,567
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Doctype or no Doctype

I was informed in no uncertain terms STRICT..... better for your health...
Last Blog Entry: More Sara Blogging (Nov 29th, 2007)
Reply With Quote
  #7 (permalink)  
Old Jun 16th, 2007, 01:11
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Doctype or no Doctype

Quote:
Originally Posted by pa007 View Post
Lets not start another discussion on whether to go with html or xhtml but just make sure it's strict and that you are implementing it properly.

Pete.
I second that.

I prefer HTML, but using Strict (and using it well) is much more important than whether you have an X. Strict forces you to lose a lot of unhealthy 90's baggage (<font> et al).
Reply With Quote
Reply

Tags
strictdtd, loosedtd, guess, frameset, doctype, transitionaldtd

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
which doctype?? geyids Web Page Design 11 Mar 13th, 2008 02:18
Using a valid Doctype Wesley Web Page Design 46 Jan 16th, 2008 17:02
[SOLVED] Doctype mcdanielnc89 Web Page Design 3 Oct 20th, 2007 23:00
which doctype? aflacduck Starting Out 19 Jun 17th, 2007 19:34
Doctype ahm531 Web Page Design 2 Sep 6th, 2006 07:55


All times are GMT. The time now is 08:56.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43