Straw Poll - Doctypes

This is a discussion on "Straw Poll - Doctypes" within the Web Page Design section. This forum, and the thread "Straw Poll - Doctypes are both part of the Design Your Website category.


 Subscribe in a reader

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

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jul 18th, 2007, 21:17
Up'n'Coming Member
Join Date: Jul 2007
Location: France
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Straw Poll - Doctypes

I've looked at the code on an awful lot of sites here, and there's a cross-section of Doctypes in use, or sometimes none at all. Web-wide, the consensus seems to be to use Strict (unless maintaining old legacy sites), but the argument rages over HTML4.01 (5 in the offing) or XHTML1.0/1.1.

I've been using 1.0 Transitional, but have been swayed to 4.01Strict on the grounds that far more browsers support it and will do so for some time to come; there may well be a version 5; coding discipline is tightened; XHTML does nothing for most people and is often served as text/html (so may as well use 4.01); XHTML2 won't be backwards compatible. And so forth.

Example argument here at: http://www.456bereastreet.com/archiv...ttype_headers/

So what do other posters use, and more importantly, WHY?

Cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jul 18th, 2007, 21:33
Highly Reputable Member
Join Date: Apr 2007
Location: Kent, England
Age: 38
Posts: 560
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Straw Poll - Doctypes

There was a discussion about this not long ago, and Mike Hopley subsequently wrote this article.

I use XHTML 1.0 Strict, just because that's all I know!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jul 19th, 2007, 05:25
Up'n'Coming Member
Join Date: Jul 2007
Location: France
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Straw Poll - Doctypes

Many thanks, Vanessa. I did a search for 'Doctypes', but must have missed Mike's post, hence my straw poll.

An enlightening article.

Cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jul 19th, 2007, 05:34
Most Reputable Member
Join Date: Dec 2006
Location: San Francisco
Age: 57
Posts: 1,567
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Straw Poll - Doctypes

Html 4.01 strict....someone told me it was the best way to learn to keep your ducks in order. (no, not anyone here.)
Last Blog Entry: More Sara Blogging (Nov 29th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jul 19th, 2007, 08:46
Most Reputable Member
Join Date: May 2006
Location: North West, UK
Age: 22
Posts: 1,173
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Straw Poll - Doctypes

I did write a big long reply to this post last night but then I accidentally deleted the tab and didn't have the energy to rerwrite it. So I'll try again though probably not so long this time.

I use XHTML 1.0 Strict. Its demand the most of you as a coder
but allows you to serve the documents as text/html.
HTML STrict is just as valid and to be honest the argument between the two (XHTML and HTML) is a pointless one. It make no difference which you use as long as it is strict. The important thing is that you are creating valid, well-formed documents. XHTML is a stickler for well-formedness which is something I am also picky about so we suit each other. Semantic code, accessible code, valid code, usable design. These are the things you should be worried about they matter more than anything providing youdoctype is a strict one it doesn't matter whether you go for HTML or XHTML. Like I say XHTML demands more of you but they are very similar.

On a side note, I believe you have to serve XHTML 1.1 as application/xhtml+xml as opposed to text/html so unless you are doing this you shouldn't be using XHTML 1.1.

Also the fact that XHTML 2.0 won't be backwards compatible is one of the reasons I'm looking forward to it. A clean break. Its what web design has been waiting for. Its gonna be awesome.

Pete.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jul 21st, 2007, 14:03
Reputable Member
Join Date: Jul 2007
Location: Windsor, ON, Canada
Age: 19
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Straw Poll - Doctypes

I've been working on converting my pages to 4.01 Strict, as i like to think of it as... what would a good simpsons quote to use...

"I serve you fresh pasta, not that crap from a can..." - Luigi Rosoto
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jul 21st, 2007, 16:11
Junior Member
Join Date: Jul 2007
Location: Australia
Age: 17
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Straw Poll - Doctypes

I've always been using HTML 4.0 Transitional since it's the default one my editor uses... i guess i should change to the 4.01 strict then aye?

-Evil
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Jul 21st, 2007, 17:24
Highly Reputable Member
Join Date: Apr 2007
Location: Kent, England
Age: 38
Posts: 560
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Straw Poll - Doctypes

Yep, always go for strict, whether it's HTML or XHTML.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
doctype, poll

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
Help with understanding DOCTYPES in Dreamweaver! bellabella Web Page Design 1 May 16th, 2008 22:42
[SOLVED] Doctypes and CSS Headache Jenski Web Page Design 3 Jan 17th, 2008 07:30
Poll? Jack Franklin PHP Forum 4 Jan 5th, 2008 10:10
Need help with a poll karinne PHP Forum 4 Oct 6th, 2007 12:17
Doctypes, IE6, scrolling content matelot Web Page Design 0 Jul 2nd, 2007 19:34


All times are GMT. The time now is 05:50.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization 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