: When updating to HTML5, will adding , , and microdata result in rendering problems in older browsers? When updating our website from XHTML to HTML5, will changing the following things result
When updating our website from XHTML to HTML5, will changing the following things result in rendering problems for our site in older browsers like Internet Explorer 8:
Specify <!doctype html>. (The current XHTML web pages are well-formed enough)
Add new specific HTML5 semantic block tags like <header> and <article>. We are not going to use CSS for these tags - just wrap the existing parts of the site.
Add microdata attributes to the existing tags like <p>.
After reading some books and many Internet articles, I see no problems as the new tags and attributes will be simply excluded from rendering as unknown in those older browsers. However, I admit, in practice there can be some issues, especially with IE. Does anybody have any real experience with that?
More posts by @Sue5673885
1 Comments
Sorted by latest first Latest Oldest Best
Doctype and Microdata shouldn't create many problems. It's possible that it will throw IE into 'quirks' mode, but you will probably be fine.
The problem with HTML5 tags like header and article are that older browsers don't recognize them as block level elements. So if you are using them in that way at all you may be in for some layout surprises.
There are polyfills, like html5shiv - code.google.com/p/html5shiv/, that will handle those problems if you want to use it.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.