Hello, I know there are a few different doctypes out there, but which is a good one to use and benefits associated with it?
Thank you, Ronson
|
1
|
Hello, I know there are a few different doctypes out there, but which is a good one to use and benefits associated with it? Thank you, Ronson |
||
|
|
|
1
|
I guess that depends on what you want to do... currently, I'm using a lot of xhtml 1.0 strict
and html 4.0 strict
because they trigger the browser to use standards/almost standards mode. HTML 5's doctype: read more about almost standards mode here: read more about html 5 here: Whatever you do, you want to avoid any doctype that will force the browser into quirks mode, which will cause things to behave unpredictably across all browser and that means more hacks. |
||
|
|
|
0
|
I've expanded on doctypes here: http://danvogler.com/articles/doctypes-w3c-validator.html |
||
|
|