You Are Here: Home »Resources »   Common meta tags Friday September 3rd 2010

Common Meta Tags

Expires Content-Type Content-Script-Type Content-Style-Type Content-Language Refresh Window-target Set-Cookie Robots Description Keywords

Expires

<meta http-equiv="expires" content="Mon, 27 Oct 2003 18:06:57 GMT">

Specifies the date and time a document should be considered "expired", controls browser cacheing, setting expires as "0" would be considered as "now"

Can also control search engine bots, an expired document may be deleted or they may schedule a re-visit.

Content-Type

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

Forces netscape to load the specified character set before displaying the page.

Content-Script-Type

<meta http-equiv="Content-Script-Type" content="text/javascript">

Specifies the default scripting language.

Content-Style-Type

<meta http-equiv="Content-Style-Type" content="text/css">

Specifies the default style sheet for the document.

Content-Language

<meta http-equiv="Content-Language" content="en-gb">

Declares the document language, sometimes used by search engine bots to categorize listings.

Refresh

<meta http-equiv="Refresh" content="3;url=http://www.netcode.net">

Sets a delay in seconds before the browser reloads the document, can also specify a URL to load.

Window-Target

<meta http-equiv="Window-target" content="_top">

Sets the named window of a current page, can stop pages appearing in a frame.

Set-Cookie

<meta http-equiv="Set-Cookie" content="cookievalue=blah;expires=Friday, 31-Dec-05 23:59:59 GMT; path=/">

Sets a cookie for the specified amount of time untill the expiry date on the visitors PC.

Robots

<meta name="ROBOTS" content="noindex,follow">

Controls the behavior of search engine robots on the page.

Description

<meta name="description" content="php and html stuff">

A short, clear description of the content of the document.

Keywords

<meta name="keywords" content="php, html, javascript">

A list of keywords that describe your content, used by search engine robots to list your page(s).