2

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

1
  • 2
    This is really a poll of sorts so it should be community wiki. Oct 20, 2010 at 19:37

3 Answers 3

2

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

0
2

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.

1
  • @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, 2010 at 2:25
1

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

1
  • +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.
    – MrWhite
    Oct 22, 2010 at 20:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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