HTML meta

From Htmlpedia
Jump to: navigation, search

HTML Element META

Definition and Usage

The <meta> tag is used by certain search engines on the World Wide Web to index your page.


Examples

Good<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

This refreshes the page every five seconds:

Good<meta http-equiv="refresh" content="5" />

This shows the last time the page was changed:

Good<meta name="revised" content="foreyes4, 4/10/07" />

This gives a description of the web page:

Good<meta name="description" content="An explanation on use of the HTML meta tag" />

This gives keywords for certain search engines:

Good<meta name="keywords" content="HTML, META" />

Requirements

The content attribute is required. Http-equiv, name, and scheme are optional.


Attributes

dir, lang, xml:lang