which doctype??

This is a discussion on "which doctype??" within the Web Page Design section. This forum, and the thread "which doctype?? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 3rd, 2008, 13:27
Reputable Member
Join Date: Mar 2007
Location: Kenya
Age: 19
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to geyids Send a message via Yahoo to geyids Send a message via Skype™ to geyids
which doctype??

whats in doctypes? I've seen many recommend strict doctype but I'm sure I don't know what they do.
Reply With Quote

  #2 (permalink)  
Old Mar 3rd, 2008, 15:15
Aso's Avatar
Aso Aso is offline
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,010
Blog Entries: 2
Thanks: 5
Thanked 23 Times in 20 Posts
Send a message via Skype™ to Aso
Re: which doctype??

Check out this A List Apart article on doctypes. It's a very good read and explains why and which doctypes to use.

In a sentence, doctypes are essential to good practice, standards compliant, cross-browser consistent web design.
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Reply With Quote
  #3 (permalink)  
Old Mar 3rd, 2008, 15:42
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 267
Thanks: 0
Thanked 0 Times in 0 Posts
Re: which doctype??

Thats a really good link aso, i remember reading this article a while back when i didnt understand doctypes very well. Im a 'strict' guy myself, whats everyone elses preferences?
Reply With Quote
  #4 (permalink)  
Old Mar 3rd, 2008, 16:51
unitedcraig's Avatar
SuperMember

SuperMember
Join Date: Oct 2007
Location: Stockport
Age: 17
Posts: 825
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: which doctype??

As well ask telling the browser how to render your page etc, having s strict doctype is a good thing to have when designing if you can get your code to validate to strict
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
Reply With Quote
  #5 (permalink)  
Old Mar 3rd, 2008, 20:25
Ed Ed is offline
Highly Reputable Member
Join Date: Jul 2007
Location: Cork, Ireland
Posts: 687
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: which doctype??

Have a look here, it's an article from our Resident Writer on the WebForumz Creative Coding Newsletter.

Ed.
Last Blog Entry: Happy New Year! (Dec 31st, 2007)
Reply With Quote
  #6 (permalink)  
Old Mar 4th, 2008, 09:27
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 267
Thanks: 0
Thanked 0 Times in 0 Posts
Re: which doctype??

Nice article Ed, thanks
Reply With Quote
  #7 (permalink)  
Old Mar 7th, 2008, 19:37
SuperMember

SuperMember
Join Date: Aug 2003
Location: Castle Rock, CO
Age: 36
Posts: 164
Thanks: 0
Thanked 0 Times in 0 Posts
Re: which doctype??

A List Apart also just came out with Beyond DOCTYPE: Web Standards, Forward Compatibility, and IE8. I just downloaded the MSIE 8 beta for my XP machine.
Reply With Quote
  #8 (permalink)  
Old Mar 12th, 2008, 12:43
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: which doctype??

IE 8 is not even close to ready, I would't touch it let alone support it till a candidate release. It works but its quirky and is missing some support. Just an FYI it broke my stand alones and such causing IE 6 to render as IE 8 etc... Not saying this WILL happen but it has happened.

So just be careful with IE 8 at this time and prepare to roll back XP.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #9 (permalink)  
Old Mar 12th, 2008, 15:01
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: which doctype??

I've heard extremely knowledgeable people say not to bother with XHTML at all, at this point, unless you have a definite reason to do so. HTML 4.01 Strict is quite good for a garden-variety webpage and is well-supported.

I always do XHTML 1.0 Strict mainly because it's fun and keeps me in touch with XML a bit, and because it's easy enough once you get through the adjustment. There's also a smidgin of prestige value. But it would be pretty far down on my list of recommended time/energy investments right now.
Reply With Quote
  #10 (permalink)  
Old Mar 12th, 2008, 16:15
Junior Member
Join Date: Mar 2008
Location: London
Age: 18
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Re: which doctype??

I'm currently learning xhtml strict. Is this the best way to go?
Reply With Quote
  #11 (permalink)  
Old Mar 12th, 2008, 18:05
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: which doctype??

Quote:
Originally Posted by Aesir View Post
I'm currently learning xhtml strict. Is this the best way to go?
Strict is the way to go.

XHTML or HTML? It doesn't matter much. I don't like using XHTML because the browser will receive it as invalid HTML (assuming you serve it with a MIME type of text/html, which is what almost everyone does).

The real reason to use XHTML is if you need to work with XML, or want to use markup modules such as MathML.

In terms of "learning" XHTML, there's really nothing to learn. Its markup is almost identical to HTML.
Reply With Quote
  #12 (permalink)  
Old Mar 13th, 2008, 02:18
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: which doctype??

XHTML is much more streamlined. Its leaner and meaner code, and yes it gives you the option for xml etc...
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
Reply

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
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 or no Doctype notagz1 Website Planning 6 Jun 16th, 2007 01:11
Doctype ahm531 Web Page Design 2 Sep 6th, 2006 07:55


All times are GMT. The time now is 23:34.


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