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
| Name | Type | Description |
|---|---|---|
| http-equiv | pragma keyword | Use x-ua-compatible. |
| content | directive-specific value | Example: 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>