metatag
Elementshttp-equiv
HTML metatagThe http-equiv="default-style"
metatag specifies the default style sheet for the page. For example, this could be a site-wide template:
<meta http-equiv="default-style" content="/site-template.xsl ; type=application/xslt+xml"/>
The http-equiv="refresh"
metatag can be used to refresh the current page at regular intervals or redirect to a different page after a given period of time. The first parameter of content
is the time to wait, in seconds. The second parameter is the URL of the next page to be displayed and is optional.
<meta http-equiv="refresh" content="10"/>
<meta http-equiv="refresh" content="0;http://www.ExampleOnly.com/"/>
Other frequently used http-equiv
metatags for HTTP headers include:
Cache-Control
Content-Disposition
Content-Type
Expires
X-UA-Compatible
X-UA-Compatible
is used to indicate to an IE browser which version of the rendering engine should be used to display the page. This metatag does not affect other browsers such as Firefox and Opera, which in general attempt to avoid bloating the size of the browser code by displaying web pages only one way according to established standards. (Supporting multiple rendering engines presents some major challenges, especially when content rendered by one engine accesses embedded content rendered by a different engine).
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Cache-Control" content="max-age=120"/>
<meta http-equiv="Content-Disposition" content="inline; filename=spreadsheet.xls"/>
<meta http-equiv="Content-Type" content="application/xhtml+xml;charset=UTF-8"/>
<meta http-equiv="Expires" content="Day, dd Mon yyyy hh:mm:ss GMT"/>
<meta http-equiv="X-UA-Compatible" content="IE=8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
http-equiv="Content-Language"
has been deprecated. The lang attribute should be used instead. Prev: googlebot Next: HandheldFriendly
Home > HTML5 Metatags > http-equiv
Viewing mobile website page. Switch to WML or Full HTML