HTML and CSS Reference
To Add a Description
The following step illustrates how to add a meta tag description to your Web page.
If necessary, position the insertion
point on line 7.
luxury hotel, golf, tennis
for family.”/> but do not press
the e n t e r key (Figure 4).
Is there a difference between
keywords and description?
Yes. Search engines use keywords
to find your Web pages, while descriptions are displayed next to their respective Web page URLs in a search results list.
on line 7
If I have relevant keywords in the content of my Web page, why should I add other words to the <meta /> tags?
It always helps to have keywords identified in both places for those search engines that rely on the meta tag for keywords
versus those that rank results by analyzing the page content.
To Save, Validate, and Print a Document
You are finished entering the meta tags. As with all Web development projects, you
now need to save, validate, and print the file.
In Notepad++, click the
Save icon on the toolbar
to save the file with the
new meta tags.
Validate the file using the
w3.org validation service.
Once the file is
print the file (Figure 5).