# Should I code in XHTML 1.0, 1.1 or 2.0?

**URL:** <https://forum.kirupa.com/t/should-i-code-in-xhtml-1-0-1-1-or-2-0/285500>\
**Category:** web dev\
**Created:** [April 1, 2009, 4:40pm UTC](https://forum.kirupa.com/t/should-i-code-in-xhtml-1-0-1-1-or-2-0/285500 "2009-04-01T16:40:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vthok](https://avatars.discourse-cdn.com/v4/letter/v/f05b48/32.png) [@vthok](https://forum.kirupa.com/u/vthok)\
**Post date:** [April 1, 2009, 4:40pm UTC](https://forum.kirupa.com/t/should-i-code-in-xhtml-1-0-1-1-or-2-0/285500/1 "2009-04-01T16:40:14Z")

</div>

Going to build a site that will use mySql, PHP, and CSS.

Want it to be cross-browser compatible and multiplatform (Mac, Windows, etc).

So which doctype and which version of xhtml to use?
