HTTP-equiv Directives

HTML meta http-equiv="x-ua-compatible"

Historical Internet Explorer document-mode directive. It is not a modern compatibility switch and has no useful effect in current evergreen browsers; omit it in new documents.

Formal Syntax & Structure

html syntaxhtml
<meta http-equiv="x-ua-compatible" content="IE=edge">

Parameters & Attributes

NameTypeDescription
http-equivpragma keywordUse x-ua-compatible.
contentdirective-specific valueExample: IE=edge.

Working Example

Example Snippethtml
<!doctype html><html lang="en">  <head>    <meta charset="utf-8">    <title>Example</title>    <meta http-equiv="x-ua-compatible" content="IE=edge">  </head>  <body>    <p>Example document</p>  </body></html>
HTML Reference