|
Tutorial 9 Meta Tags |
 |
Page Contents - Meta Tags and Head section contents
Introduction - Meta Tags and Head section contents
The contents of the head section impart information to search engine spiders
and robots and to web browsers. Some of this information is also required
to make you page validate at W3C.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitled Document</title>
<META name="keywords" content="T170,T171,TT280">
<META name="description" content="Tutorial: ideal for
T170, T171 and TT280 students.">
<META name="revisit-after" content="14 days">
<META name="author" content="John McGuinn">
<META name="copyright" content="John McGuinn">
<SCRIPT type="text/JavaScript" language="JavaScript">
<LINK rel="STYLESHEET" href="nameofstylefile.css"
type="text/css">
<head>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Required before your page will validate
<META http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
A good standard character set for British pages.
<title>Untitled Document</title>
The first few words of the Title appear in the Web browsers
Title bar. This wording is also often used in the short description in Search
engine results. Make sure your title contains 3 or 4 important keywords.
The contents of the title can help with good Search Engine ranking.
Many HTML editors will insert the title as Untitled Document
- Make sure you change it.
<META name="keywords" content="T170,T171,TT280">
The Meta Keyword tag, lets the search engines know what your
keywords are see Site
Promotion for more information on it's use
<META name="description" content="Tutorial:
ideal for T170, T171 and TT280 students.">
The Meta Description tag, provides a desption of your page.
used byy search engines. See Site
Promotion for more information on it's use
<META name="revisit-after" content="14 days">
Give Search Engines some idea of how often the page is being
updated.
<SCRIPT type="text/JavaScript" language="JavaScript">
If you use Java script then you will require this line in the
head section. Many ready made scripts, and some HTML editors will do a shorter
version <SCRIPT language="JavaScript">. Please note that
this shorter version does not validate.
<LINK rel="STYLESHEET" href="nameofstylefile.css" type="text/css">
Used when you use an external Style Sheet
More to come shortly |