1) If I’m already using Modernizr, will I then even need HTML5 Shiv to enable HTML5 tag support for IE?
2) Is HTML5 Shiv only for IE, or for all browser who don’t have native HTML 5 support? Like older versions of Firefox, Safari, Chrome, etc?
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.
You don’t need to separately include html5shiv, because Modernizr includes it:
http://www.modernizr.com/docs/#html5inie
It’s only for Internet Explorer.
Older versions of other browsers don’t need it: http://caniuse.com/html5semantic
And the recommended snippet to include it is:
Which will only ever run for IE less than 9.