I am working on several sites that were developed 5-10 years ago, and they are all having compatibility issues with the newer versions of IE. Since IE 8, the answer has been the Compatibility Mode function. However, this button and its associated function is being phased out. It's now buried in the menu of IE 11, so I'm concerned about it's going away with IE 12. I'm starting to research and fix the sites so that they display properly in modern browsers.
The majority of the problems is that the site "just looks bad" without compatibility mode. The first step is to change the markup, so that it meets current standards. Using Visual Studio, I'm validating all markup with XHTML5. I'm not introducing any new HTML5 tags. I'm simply changing the existing markup so that it isn't flagged by the validator. I'm also fixing any display issues that crop up.
What is HTML5 and XHTML5? HTML5 is the latest and greatest version of HTML. Modern browsers support most of the standard. Older browsers support only the stuff that has been around forever (tables and input tags and such). XHTML5 is the XML version of HTML5. It is basically the same thing except that XHTML5 is slightly stricter. For example, HTML5 will let you write a tag and not close it. XHMTL5 requires lowercase letters just like XML does.
I think XHTML5 is appropriate to validate your markup with since it is a bit more strict, and forces you to write tidier markup.
No comments:
Post a Comment