In HTML5,how to set compatibility modes?

 Posted by vishalneeraj-24503 on 8/1/2014 | Category: HTML 5 Interview questions | Views: 372 | Points: 40
Answer:

If we declare our HTML doctype header in the HTML5 standard,then IE is smart enough to know that it should emulate IE9+ without needing a meta tag to tell it what to do.In this case,start your page with the following header tag.There is no need to add meta tag.
Just add doctype tag at the top of the ASPX page as shown:-
<!doctype html>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response