HTML Tutorial - Meta Tags

Meta tags are all located inside the <head> and </head> tag of your webpage.

The Title Tag
The <title> and </title> tag is the most important tag on your page!
eg: <title>Title Of Your Page Goes Here</title>

Make good use of the title tag. Describe boldly what your page is about, use 7 - 10 words.

How it looks inside the 'head' tags.
<head>
<title>Title Of Your Page Goes Here</title>
</head>

The Description Meta Tag
<meta name="Description" content="Write 1 or 2 sentences to describe your pages content here.">

The Keywords Meta Tag
<meta name="Keywords" content="type, in, your, keywords, for the, page, separated, by, commas, here">

How it looks inside the 'head' tags.
<head>
<title>Title Of Your Page Goes Here</title>
<meta name="Description" content="Write 1 or 2 sentences to describe your pages content here.">
<meta name="Keywords" content="type, in, your, keywords, for the, page, separated, by, commas, here">
</head>

Other Meta Tags

Language
Add the language that the page is in.
content="english"
eg: <meta http-equiv="Content-Language" content="english">

Robots / Search Engine Spiders
Search engine spiders and robots indexing.
content="index,follow" (Tell the search engines to index and follow the links on the page.)
content="noindex,nofollow" (Tell the search engines not to index and follow the links on the page.)
eg: <meta name="robots" content="index,follow">

Tell the robot to come back and index your page every certain amount of time.
content="7 days"
content="15 days"
content="30 days"
content="1 week"
content="2 months"
eg: <meta name="revisit-after" content="15 days">

How it looks inside the 'head' tags.
<head>
<title>Title Of Your Page Goes Here</title>
<meta name="Description" content="Write 1 or 2 sentences to describe your pages content here.">
<meta name="Keywords" content="type, in, your, keywords, for the, page, separated, by, commas, here">
<meta http-equiv="Content-Language" content="english">
<meta name="robots" content="index,follow">
<meta name="revisit-after" content="15 days">
</head>

Meta Refresh.
You can make a page refresh after any amount of time with the meta refresh tag.
It can refresh to the same page or a new page or even a different website.
content="60;url=http://www.berm.co.nz"
(60 seconds)
eg: <meta http-equiv="refresh" content="60;url=http://www.berm.co.nz">


HTML Tutorial     Home