Since the web is waiting for the XHTML2 standard, we can notice that the trend of web page markup is heading to the pure XML direction. Though XHTML2 might need a long time to be published, we should be prepared. What shall we do now? Switching to XHTML1.1 now would be the best practice since:
- It’s pure XML, which is similar to XHTML2.
- It is supported by current common browsers.
Using XHTML1.1 will let you be familiar with pure XML, and makes it much easier to change to XHTML2 in the future.
I decided to switch to XHTML1.1 (from XHTML1.0 traditional) today. While cleaning up my web pages, I found some tips which might be helpful for web you developers:
