The Advantages of XHTML
I wanted to put a quick post up here about XHTML. It's been almost six years since the W3C declared that XHTML was replacing HTML 4 as the standard markup for web documents, yet I still consistently see code on websites that does not utilize XHTML. While I know this seems like a small thing, I feel as though it deserves some attention. I'm not going to go into all the advantages of XHTML, but I think that there are a few things to mention. Because XHTML is based on XML, a well structured XHTML document can easily be reformated for display on mobile devices, PDAs, cell phones and more. Not only that, but a well structured XHTML document should rely on CSS for formating, which ensures that your code is lean and clean for search engines. There are countless other reasons to be using XHTML, and for ensuring that it remains valid on your stie. However, I just wanted to bring it up since I have been seeing so many sites lately that are using HTML 4 rather than XHTML. If you aren't sure about your site, ask your web developer to explain what document type your site uses, and why.