Mobile app version of vmapp.org
Login or Join
Sue5673885

: 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

@Sue5673885

Posted in: #BrowserSupport #Html5 #InternetExplorer8 #Xhtml

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sue5673885

1 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie594

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme