Step 05: Add Keywords And Description
We'll get moving with some actual page content soon, but first there's some more important information you need to know about the page header.
When you place a web on the Internet, each page in the web will
be indexed by search engines such as AltaVista and Lycos.
So long as there are "interesting" words on the pages of your web,
net surfers will land on various pages of your web. Unfortunately,
that's not really where you want them to land. You want
them to land on your splash page! To draw hits to your splash
page, it's a good idea to include tags in the HEAD
part of your web page that, if present, browsers use to index and
describe each page. Here's how it's done.
<HEAD>
<TITLE>Welcome To Tarmac Travel</TITLE>
<META NAME="description"
CONTENT="Tarmac Travel is a fictional travel agency whose web
was created to provide a step by step example of how
to create a web.">
<META NAME="keywords"
CONTENT="tarmac,travel,tarmac travel,
web,webhints,example,
design,creation,conception,programming
construction,build,building,creating,
tutorial,helper">
</HEAD>
It's important to include a brief description as well as keywords because if you don't provide a description, the search engine will display some text from the page instead. In this case, the engine would display Are you ready to hit the Tarmac? which is not a very helpful description of the Tarmac Travel agency.
There's usually no need to add keywords and a description to each page in your web. Just make sure that your index.html page has them.
That's the end of this step. Again, you will see no change in the look of the page as the description and keywords fields are invisible on the page.
|