While creating MVC 3 Razor, application we had selected Generate HTML5 Semantics. We realize that web app. has to be supported on IE8, as well.
How do I disable HTML 5 semantic generation, in existing MVC-3 project.
Thanks !
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.
There’s a setting in Visual Studio which allows you to change the DOCTYPE to HTML 4.01. Then you should of course replace all HTML5 tags in your markup:
Also if you include
modernizr, IE8 can support semantic markup. Javascript will be used to achieve the same effects.