Create a website RSS feed

The Title

The title

Last update on: 05-14-2008
Each HTML page needs a title to indicate what the page describes. It appears in the title bar of the browser when people view the web page.The title is stored in your browser's favorites (or bookmarks), and also in search engines when they index your pages. Use the <title> tag to give a page a title.

The title indicates what your web page is about and is used to refer to the page in the browser's list of favorites or bookmarks. Titles also appear in the title bar of graphical browsers such as Microsoft Internet Explorer.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/transitional.dtd">
<html>
<head>
<title>10 reasons why PCs crash you must Know</title>

</head>
<body>
...your page...
</body>
</html>

You can have only one title in the page, and that title can contain only plain text; that is, no other tags should appear inside the title.

Try to choose a title that's both short and descriptive of the content. Your title should be relevant even out of context. If someone browsing on the Web follows a random link and ends up on this page, or if a person finds your title in a friend's browser history list, would he have any idea what this page is about? You might not intend the page to be used independently of the pages you specifically linked to it, but because anyone can link to any page at any time, be prepared for that consequence and pick a helpful title.

When search engines index your pages, each page title is captured and listed in the search results. The more descriptive your page title, the more likely it is that someone will choose your page from all the search results.

Basics of HTML's lessons:

Structuring Your HTML
The Title
Headings
Paragraphs
Lists
Comments
Tags Summary

Banner HomeServices Contact |  ©2009 http://www.iteachweb.net/