The HTML5 (space or no-space?) Doctype also covers everything previously so there’s no reason to not use it now.
It triggers standards mode in IE and works correctly in all other browsers, the main reason for doctype is for validators anyway so as long as you don’t the ‘this is as yet an unfinished spec’ style of message, you’ve nothing to worry about.
At last someone had the idea and made it real ! Thank you very much / looking forward to seeing that redesign.
I prefer HTML 4.01 Strict, but soon may migrate to
The HTML5 (space or no-space?) Doctype also covers everything previously so there’s no reason to not use it now.
It triggers standards mode in IE and works correctly in all other browsers, the main reason for doctype is for validators anyway so as long as you don’t the ‘this is as yet an unfinished spec’ style of message, you’ve nothing to worry about.
So all the old IEs need is a doctype declaration to trigger the standards mode? No matter what version of it?
HTML4 strict is my favorite. I’ll move to in future.
can u tell me the doctype for mobile html
Same Doctype should work in all the browsers irrespective of the platform you are in.
tell me the doctype for mobile web
@ neha,
The layout of your html/css/js is what determines a mobile design. There is no doctype specifically for mobile.
What is the difference between Strict and Transitional Flavours in HTML4.01???