Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Meaning: doc-type, header, body, etc.

share|improve this question
2  
This is really a poll of sorts so it should be community wiki. –  RandomBen Oct 20 '10 at 19:37
add comment

3 Answers

up vote 2 down vote accepted

I use xhtml 1.0 transitional because it is flexible, does what I need, and is relatively up to date.

share|improve this answer
add comment

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.

share|improve this answer
    
@Paul McMillan: Agree HTML5 is the future, and laughed when I saw the "html" doc-type, really have a hard time understand how that's a standard... :-) ...even more funny is that w3.org "says" it's not a standard... ;-) SOURCE: w3.org/QA/2002/04/valid-dtd-list.html –  blunders Oct 21 '10 at 2:25
add comment

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).

share|improve this answer
    
+1 on Strict (HTML or XHTML) being forward-compatible. You can always drop to a Transitional DOCTYPE on the odd page that requires a deprecated attribute/tag. –  w3d Oct 22 '10 at 20:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.