Syntax
<META>
Attribute Specifications
NAME=Name (property name)
HTTP-EQUIV=Name (HTTP response header name)
CONTENT=CDATA (associated data)
SCHEME=CDATA (form of data)
internationalization attributes (for the CONTENT)
Contents:
Empty
Contained in:
HEAD
<META NAME=author CONTENT="Simon Thomson">
Some search engines use keywords and description properties, giving extra weight to a document's keywords and providing its description with the link to the document. Example:
<META NAME="description" CONTENT="A description of HTML 4.0's META element for metadata.">
<META NAME="keywords" CONTENT="META, meta element, metadata, metainformation, meta data, meta information, keywords, description, refresh, HyperText Markup Language, HTML, HTML4, HTML 4.0, eluk, eurolinkuk, css, Cascading Style Sheets, css2, css 2.0, <meta> tag, <META> tag>"
<META NAME=robots CONTENT="noindex,follow">
Few search engines support the robots property at this time. For greater compliance by robots, authors should use the Robots Exclusion Protocol if possible.
<META HTTP-EQUIV=Expires CONTENT="06 February 2002 10:10:35 GMT">
sets the expiry date of the document.
<META HTTP-EQUIV="Content-Script-Type" CONTENT="text/javascript">
sets the client-side scripting language for inline scripts to JavaScript.
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
sets the style language for inline styles to CSS.HTTP header causes some browsers to redraw the page after initially displaying it.
<META HTTP-EQUIV=Refresh CONTENT="10; URL=http://www.eluk.co.uk/">
tells the browser to load http://www.eluk.co.uk/ 10 seconds after the current document has finished loading. Not all browsers support this, so authors should provide an alternate means of moving to the new page where necessary. The Refresh header is sometimes used for "splash screens" or when a page has moved, but the technique is not very effective since users may not even be looking at the window that is to be refreshed and since it messes up the user's history on many browsers. Some search engines penalize pages that use a Refresh of a few seconds or less.
the following META element identifies windows-1251 as the character set for the document.
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=windows-1251">
or
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=SHIFT_JIS">
sets the character encoding for the document to SHIFT_JIS (a Japanese encoding). Note that using META for this purpose rather than a true HTTP header causes some browsers to redraw the page after initially displaying it.
The following table contains information concerning the character sets supported by Internet Explorer 5. The information provided is:
Note CS indicates that the version of Internet Explorer must support complex scripts such as Arabic, Hebrew, or Thai.
| Display Name | Preferred Charset ID | Additional Aliases | MLang Code Page | Supported by Versions |
| Arabic ASMO-708 | ASMO-708 | 708 | 4CS, 5 | |
| Arabic (DOS) | DOS-720 | 720 | 4CS, 5 | |
| Arabic (ISO) | iso-8859-6 | ISO_8859-6:1987, iso-ir-127, ISO_8859-6, ECMA-114, arabic, csISOLatinArabic | 28596 | 4CS, 5 |
| Arabic (Windows) | windows-1256 | 1256 | 4CS, 5 | |
| Baltic (ISO) | iso-8859-4 | csISOLatin4, iso-ir-110, ISO_8859-4, ISO_8859-4:1988, l4, latin4 | 28594 | 4, 5 |
| Baltic (Windows) | Windows-1257 | 1257 | 4, 5 | |
| Central European (DOS) | ibm852 | cp852 | 852 | 4, 5 |
| Central European (ISO) | iso-8859-2 | csISOLatin2, iso-ir-101, iso8859-2, iso_8859-2, iso_8859-2:1987, l2, latin2 | 28592 | 3, 4, 5 |
| Central European (Windows) | windows-1250 | x-cp1250 | 1250 | 3, 4, 5 |
| Chinese Simplified (GB2312) | gb2312 | chinese, csGB2312, csISO58GB23128, GB2312, GBK, GB_2312-80, iso-ir-58 | 936 | 3, 4, 5 |
| Chinese Simplified (HZ) | hz-gb-2312 | 52936 | 4, 5 | |
| Chinese Traditional | big5 | csbig5, x-x-big5 | 950 | 3, 4, 5 |
| Cyrillic (DOS) | cp866 | ibm866 | 866 | 4, 5 |
| Cyrillic (ISO) | iso-8859-5 | csISOLatinCyrillic, cyrillic, iso-ir-144, ISO_8859-5, ISO_8859-5:1988 | 28595 | 4, 5 |
| Cyrillic (KOI8-R) | koi8-r | csKOI8R, koi | 20866 | 3, 4, 5 |
| Cyrillic (Windows) | windows-1251 | x-cp1251 | 1251 | 3, 4, 5 |
| Greek (ISO) | iso-8859-7 | csISOLatinGreek, ECMA-118, ELOT_928, greek, greek8, iso-ir-126, ISO_8859-7, ISO_8859-7:1987 | 28597 | 3, 4, 5 |
| Greek (Windows) | Windows-1253 | windows-1253 | 1253 | 5 |
| Hebrew (DOS) | DOS-862 | 862 | 4CS, 5 | |
| Hebrew (ISO) | iso-8859-8 | csISOLatinHebrew, hebrew, iso-ir-138, ISO_8859-8, visual, ISO-8859-8 Visual | 28598 | 4CS, 5 |
| Hebrew (Windows) | windows-1255 | logical, ISO_8859-8:1988, iso-ir-138 | 1255 | 3CS, 4CS, 5 |
| Japanese (JIS) | iso-2022-jp | csISO2022JP | 50220 | 4, 5 |
| Japanese (JIS-Allow 1-byte Kana) | csISO2022JP | iso-2022-jp | 50221 | 4, 5 |
| Japanese (JIS-Allow 1-byte Kana - SO/SI) | iso-2022-jp | csISO2022JP | 50222 | 3, 4, 5 |
| Japanese (EUC) | euc-jp | csEUCPkdFmtJapanese, Extended_UNIX_Code_Packed_ Format_for_Japanese, x-euc, x-euc-jp | 51932 | 3, 4, 5 |
| Japanese (Shift-JIS) | shift_jis | csShiftJIS, csWindows31J, ms_Kanji, shift-jis, x-ms-cp932, x-sjis | 932 | 3, 4, 5 |
| Korean | ks_c_5601-1987 | csKSC56011987, euc-kr, korean, ks_c_5601 | 949 | 3, 4, 5 |
| Korean (ISO) | iso-2022-kr | csISO2022KR | 50225 | 3, 4, 5 |
| Latin 3 (ISO) | iso-8859-3 | 28593 | 4, 5 | |
| Thai (Windows) | iso-8859-11 | windows-874 | 874 | 3, 4, 5 |
| Turkish (Windows) | Windows-1254 | windows-1254 | 1254 | 3, 4, 5 |
| Turkish (ISO) | iso-8859-9 | csISOLatin5, ISO_8859-9, ISO_8859-9:1989, iso-ir-148, l5, latin5 | 28599 | 3, 4, 5 |
| Ukrainian (KOI8-U) | koi8-u | 21866 | 4, 5 | |
| Unicode (UTF-7) | utf-7 | csUnicode11UTF7, unicode-1-1-utf-7, x-unicode-2-0-utf-7 | 65000 | 4, 5 |
| Unicode (UFT-8) | utf-8 | unicode-1-1-utf-8, unicode-2-0-utf-8, x-unicode-2-0-utf-8 | 65001 | 4, 5 |
| Vietnamese (Windows) | windows-1258 | 1258 | 3, 4, 5 | |
| Western European (Windows) | Windows-1252 | 1252 | 5 | |
| Western European (ISO) | iso-8859-1 | ANSI_X3.4-1968, ANSI_X3.4-1986, ascii, cp367, cp819, csASCII, IBM367, ibm819, iso-ir-100, iso-ir-6, ISO646-US, iso8859-1, ISO_646.irv:1991, iso_8859-1, iso_8859-1:1987, latin1, us, us-ascii, x-ansi | 1252 | 3, 4, 5 |