Can I use the HTML 5 doctype in older browsers like IE 8 or 7? If not what would be a good method to handle cross browser compatibility?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A lot of people use and recommend the open source modernizr javascript library to handle these issues. You can code for HTML5 and modernizr will try to gracefully degrade for features not supported by the user’s browser. As they say:
It is high-quality enough to be used by Google, Microsoft, The Economist, About.com, The Knot, Good and Posterous.