Jump to content

What Doctype To Use And Comply With

Recommended Posts

I've been designing and maintaining small websites for non-profit organizations for about 6 years. The doctypes range from HTML 4.01 Transitional to XHTML1.1. I thought I was "doing the right thing" by going to XHTML and making sure all web pages passed the W3C validation test. But now I read that XHTML was a branch in a different direction and HTML5 is the way things will go in the future. I realize that HTML5 is not cooked yet however, it is a super-set of HTML 4.01. Should I abandon XHTML and go to HTML5 while staying away from features that are not supported by older browsers? It nicely removes a bit of HTML boilerplate that really isn't need for compatibility with older browsers. Perhaps I should go to HTML 4.01 Strict in preparation for the eventual move to HTML5 and its similarity to XHTML1.1. I realize the choice won't really make much difference in the code. I just like to comply with "standards" (which we carefully call "recommendations") and learn their rules. Your thoughts on this matter would be appreciated.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...