10.07.2017 Views

246996016-HTML5-Step-by-Step

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Specifying a Page Title and Metatags 19<br />

Note Your screen might look slightly different, depending on the settings you have<br />

configured in your browser.<br />

CLEAN UP Close the Notepad and Internet Explorer windows.<br />

Specifying a Page Title and Metatags<br />

Perhaps you noticed in the preceding exercise that the complete path to the file<br />

appeared in the title bar of Internet Explorer. Usually when you view a Web page, a<br />

friendly, descriptive title appears in that spot instead. That text is specified <strong>by</strong> a <br />

tag that is placed in the section (also called the header). Here’s an example:<br />

<br />

The Garden Company<br />

<br />

Troubleshooting Make sure you place the tag in the section, and not in the<br />

section.<br />

Another element you can place in the header is the tag. The tag has<br />

several purposes. One of these is to identify keywords related to your page. Placing<br />

appropriate keywords on your page can make it easier for people to find your page<br />

when they are searching the Web using a search engine such as MSN. When some search<br />

engines index your page, they rely not only on the full text of the page, but also on any<br />

keywords they find in the tag area.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!