How do you set IE compatibility mode?

Technology CommunityCategory: HTML5How do you set IE compatibility mode?
VietMX Staff asked 3 years ago
  • By using http-equiv=X-UA-Compatible meta tag with content IE=edge
  • IE=edge mode tells Internet Explorer to display content in highest mode available

Example:

<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="description" content="I am a web page with description"> 
  <title>Home Page</title>
</head>
<body>
  
</body>
</html>