: What is the default HTML document you use, and why? Meaning: doc-type, header, body, etc.
Meaning: doc-type, header, body, etc.
More posts by @Cody1181609
3 Comments
Sorted by latest first Latest Oldest Best
I use XHTML 1.0 Strict because (a) I edit in plain-text and I like to see my markup validate because I have a perfectionist streak, (b) get things pixel-perfect across browsers (though it's less of a problem w/the slow demise of the accursed IE5.5 - rendering differences with whitespace - need I say more?) and (c) strict markup tends to be forward-compatible (though I've got to say I'm not looking forward to the lax requirements posited by HTML5 ... pSeUdO-CaMeLcAsE markup may be "valid" but it isn't easy on the eyes).
I've been using "html" for the doc-type for a while:
<!DOCTYPE html>
HTML5 is actually standard, even if I do prefer XML syntax and parsing.
I use xhtml 1.0 transitional because it is flexible, does what I need, and is relatively up to date.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.