Very Confused - Doctype?

This is a discussion on Very Confused - Doctype? within the HTML / XHTML forums, part of the Development category; I've already had a banta through some of that over the past few weeks, but unfortunately w3c documents, i don't ...


Reply
 
LinkBack (1) Thread Tools Display Modes
Old 17th February 2009, 11:27 PM   #11
Member
 
bocaj's Avatar
 
Join Date: Jan 2009
Posts: 186
Thanks: 0
Thanked 1 Time in 1 Post
bocaj is on a distinguished road
Default

I've already had a banta through some of that over the past few weeks, but unfortunately w3c documents, i don't find particularly easy to read, or make sense of.

A List Apart: Articles: A Preview of HTML 5

Out of all the articles i've found, that's been the best, but i'm looking for something that covers it a little more.

Maybe i'll just have to wait :unsure:
bocaj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Old 17th February 2009, 11:50 PM   #12
admin
 
saltedm8's Avatar
 
Join Date: Dec 2008
Location: Kent Uk
Posts: 1,595
Blog Entries: 6
Thanks: 15
Thanked 49 Times in 49 Posts
saltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond repute
Expertise: (X)HTML / CSS
Experience: Professional
Default

sorry then mate hehe... I thought you may have seen it; but it might be useful to someone else lol
__________________
web design kent
saltedm8 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Old 18th February 2009, 01:32 PM   #13
Junior Member
 
Join Date: Feb 2009
Location: Dallas, TX
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Moofburger is on a distinguished road
Default

At any rate it will be a while before HTML 5 is supported by IE etc, which once again makes it a tough call. Much like CSS 3 which is awesome, not realistic for the majority due to the majority using crap.
Moofburger is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Old 4th May 2009, 07:39 AM   #14
Whacked
 
Join Date: Apr 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Haneul Sang is on a distinguished road
Expertise: Total Beginner
Experience: Basic / None
Default

Hi,
A Document Type Declaration, or DOCTYPE, is an instruction that associates a particular SGML or XML document (for example, a webpage) with a Document Type Definition (DTD) (for example, the formal definition of a particular version of HTML). In the serialized form of the document, it manifests as a short string of markup that conforms to a particular syntax. The HTML layout engines in modern web browsers perform DOCTYPE "sniffing" or "switching", wherein the DOCTYPE in a document served as text/html determines a layout mode, such as "quirks mode" or "standards mode". The text/html serialization of HTML 5, which is not SGML-based, uses DOCTYPE only for mode selection
Haneul Sang is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Old 30th July 2009, 10:16 PM   #15
Member
 
Join Date: Jul 2009
Posts: 191
Thanks: 0
Thanked 18 Times in 17 Posts
Mike Hopley will become famous soon enough
Expertise: (X)HTML / CSS
Experience: Quite Good
Default

Quote:
Originally Posted by CloudedVision View Post
I do know they're dumping XHTML and reverting back to HTML for HTML 5
No, they're not. You can use either XHTML or HTML in HTML 5.

Indeed, you can start doing this already. There's nothing stopping you from slapping a <!DOCTYPE html> on your web pages; Google.com already does.

(Of course, the same old MIME type issue exists with XHTML in HTML 5.)

Support for the new HTML 5 features is patchy, so you have to careful if you start throwing in <section> and <nav>, for example.

Oh and er...hi. :)

Last edited by Mike Hopley; 30th July 2009 at 10:20 PM..
Mike Hopley is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Old 31st July 2009, 01:12 AM   #16
admin
 
saltedm8's Avatar
 
Join Date: Dec 2008
Location: Kent Uk
Posts: 1,595
Blog Entries: 6
Thanks: 15
Thanked 49 Times in 49 Posts
saltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond repute
Expertise: (X)HTML / CSS
Experience: Professional
Default

hehe.. just thought I would hijack to say hello and welcome mike

and also add that I just tried to validate their doctype to see how it fairs. thorght it would be interesting to post the doctype result

Quote:
Using experimental feature: HTML5 Conformance Checker.
The validator checked your document with an experimental feature: HTML5 Conformance Checker. This feature has been made available for your convenience, but be aware that it may be unreliable, or not perfectly up to date with the latest development of some cutting-edge technologies. If you find any issue with this feature, please report them. Thank you.
from a pure accessibility point of view, its a bad idea to try to use it for now.
__________________
web design kent
saltedm8 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Old 31st July 2009, 03:39 AM   #17
Member
 
Jordan's Avatar
 
Join Date: May 2009
Posts: 157
Thanks: 1
Thanked 6 Times in 6 Posts
Jordan is on a distinguished road
Expertise: (X)HTML / CSS
Experience: Professional
Default

You usually should use XHTML Doctype when your site contains jQuery, etc so they can be performed properly. That's one of the reasons why.

But the rest, not to sure.

Last edited by Jordan; 31st July 2009 at 01:37 PM..
Jordan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Old 31st July 2009, 07:56 AM   #18
trusted
 
Jack Franklin's Avatar
 
Join Date: Dec 2008
Posts: 431
Blog Entries: 4
Thanks: 8
Thanked 3 Times in 3 Posts
Jack Franklin is on a distinguished road
Expertise: Web Development
Experience: Quite Good
Default

Quote:
Originally Posted by Jordan View Post
You usually should use XHTML Doctype when your site contains jQuery, etc so they can be perform properly. That's one of the reasons why.

But the rest, not to sure.
Can I ask where you got that info from? I've always used HTML 4 strict on all my sites and never had a problem with jQuery.

[And welcome Mike ;))
__________________
Site: jackfranklin.co.uk Blog: ispeakwebstuff.co.uk Project: learnitscreencasts.co.uk
I'm available for 1 to 1 lessons on HTML/CSS/PHP/Javascript/jQuery/Photoshop/Fireworks so please PM Me!
Jack Franklin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Old 31st July 2009, 11:02 AM   #19
Member
 
Join Date: Jul 2009
Posts: 191
Thanks: 0
Thanked 18 Times in 17 Posts
Mike Hopley will become famous soon enough
Expertise: (X)HTML / CSS
Experience: Quite Good
Default

Quote:
Originally Posted by Jordan View Post
You usually should use XHTML Doctype when your site contains jQuery, etc so they can be perform properly.
I've never heard that before. What gave you that idea?

I've not noticed any issues using HMTL and jQuery.

Quote:
Originally Posted by saltedm8 View Post
from a pure accessibility point of view, its a bad idea to try to use it for now.
Eh? What does this have to do with accessibility?

I'm not advocating HTML 5, by the way; personally, I think it's rather pointless to use it this early on. But you can use it if you want to.
Mike Hopley is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Old 31st July 2009, 11:09 AM   #20
admin
 
saltedm8's Avatar
 
Join Date: Dec 2008
Location: Kent Uk
Posts: 1,595
Blog Entries: 6
Thanks: 15
Thanked 49 Times in 49 Posts
saltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond reputesaltedm8 has a reputation beyond repute
Expertise: (X)HTML / CSS
Experience: Professional
Default

They are warning against using it for now because of potential issues

Quote:
but be aware that it may be unreliable, or not perfectly up to date with the latest development of some cutting-edge technologies
I would say that effects accessibility just a tad lol

Quote:
Web accessibility is about enabling equal access to online content and services for all people, including those with visual and mobility impairment
in other words, if even only a few people might have problems using it, it should not really be used, but I am sure that in the future it would be a good choice.

here is a nice little article to read HTML Versus XHTML - The Web Standards Project
__________________
web design kent
saltedm8 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Reply

Tags
confused, doctype

Thread Tools
Display Modes


LinkBacks (?)
LinkBack to this Thread: http://webprocafe.com/html-xhtml/363-very-confused-doctype.html
Posted By For Type Date Hits
CodersLife : Very Confused - Doctype? This thread Refback 21st June 2009 11:18 AM 2