Thread: Html 5
View Single Post
Old 10-06-2009, 06:54 PM   #4 (permalink)
hjalmar
The Contributor
 
Join Date: Nov 2008
Location: Sweden
Posts: 36
Thanks: 1
hjalmar is on a distinguished road
Default

Quote:
Originally Posted by buildakicker View Post
Hi all,

I have been thinking a lot about current web development and HTML 5. If I am starting a new site from the ground up, would it be adventageous to use DocType HTML 5 in my new page templates?

Is it true that I can use all of the same mark up from:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
with the html 5 doctype?

Code:
<!DOCTYPE html>
And is it true that HTML5 doctype will force browsers to standards mode? If so, we should then begin developing with it right?
Yes, with the html5 doctype you can use both the "loose" and the more strict syntax.

html5 will set any current IE browser to render in standards mode so nothing is stopping you from using it right now. Any advantages? yeah the much nicer doctype declaration :)

It's a long way there and is a process so to stay crossbrowser pretty much nothing has changed.
hjalmar is offline  
Reply With Quote