Sunday, October 24, 2010

HTML - Head and Title

The head element contains meta data—information that describes the document itself, or associates it with related resources, such as scripts and style sheets. The simple example below contains the compulsory title element, which represents the document’s title or name—essentially, it identifies what this document is. The content inside the title may be used to provide a heading that appears in the browser’s title bar, and when the user saves the page as a favorite. It’s also a very important piece of information in terms of providing a meaningful summary of the page for the search engines, which display the title content in the search results. Here’s the title example:

open your note pad, write this code and save as title.html and then open in internet explorer.

<title>Page title</title>
my first page

Related Posts Plugin for WordPress, Blogger...

Popular Posts

Share |