Skip to content

Instantly share code, notes, and snippets.

@hsleonis
Last active March 31, 2016 05:35
Show Gist options
  • Select an option

  • Save hsleonis/16df21ecf8bff81497f17466408ebba3 to your computer and use it in GitHub Desktop.

Select an option

Save hsleonis/16df21ecf8bff81497f17466408ebba3 to your computer and use it in GitHub Desktop.
Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.
* This example causes the browser to reload the document every two seconds.
<meta http-equiv="refresh" content="2">
* This example sets the character set for the document.
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
* This example disables theme support for the document.
<meta http-equiv="msthemecompatible" content="no">
* This example tells Internet Explorer to display a webpage in IE9 mode, if possible.
chrome=1 means IE should use the Chrome rendering engine if installed.
(Ref.: http://stackoverflow.com/questions/6771258/whats-the-difference-if-meta-http-equiv-x-ua-compatible-content-ie-edge-e)
<meta http-equiv="X-UA-Compatible" content="IE=9">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment