How to handle the browsers who don't support HTML5/CSS3

Posted by Sheikh Aman on Stack Overflow See other posts from Stack Overflow or by Sheikh Aman
Published on 2011-03-14T08:00:34Z Indexed on 2011/03/14 8:09 UTC
Read the original article Hit count: 295

Filed under:

Hi,

I have been looking into HTML5 and CSS3 and have been liking it quite a lot. Got around the modernizr API, but am stuck at one point, and that leads to further confusions:

How will I write a code that caters to the situation of non-compatibility between browsers ?

This leads to the following confusions:

  • if I write the doctype as <!DOCTYPE HTML> and my page is accessed in IE6, then ho IE6 will handle the page?
  • If I try to include <video> tag and the page is again accessed by IE6/IE7IE8 (which don't support this tag), Then how am I supposed to be rolling back to flash for them? Should I use some JS to show/hide the content appropriately?

I would love to hear some thoughts of you guys. If needed, please mark this post as a community wiki.

Thanks!

© Stack Overflow or respective owner

Related posts about html5