Goober
02-06-2004, 02:24 AM
What version of XHTML should I use, and what are their main differences? (Versions 1.0, 1.1, 2.0)
fredmv
02-06-2004, 04:47 AM
If you are just starting to use XHTML, most likely XHTML 1.0 Transitonal would be best for you — because, as its name implies, it is intended for people transitioning to XHTML. After you feel comfortable with XHTML 1.0 Transitional and what works and what doesn't and how to write correct code, I would suggest moving up a level and using XHTML 1.0 Strict. XHTML 1.0 Strict is likely to be the one you'll want to use the most because a lot of bad tags you should stay away from are deprecated (e.g., <iframe>, etc.). You could also use XHTML 1.1, however, it's kind of overdoing it if you don't require it's power. XHTML 1.1 is intended for use with cutting-edge XML technology. So, for example, if you wanted to use XHTML along with some other XML technologies such as SVG or MathML, then XHTML 1.1 would be excellent; otherwise, I'd say stick with XHTML 1.0 Strict after you've gotten XHTML 1.0 Transitional down.
You might also want to consider checking the sticky (http://www.codingforums.com/showthread.php?s=&threadid=17764) on this...
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.