Title, Headings and Paragraph Elements

Page Title

The title of a page appears within the Head of the document. The start tag is <title> and the required end tag is </title>. The page title is considered to be the most important element on a web page by the World Wide Consortium and Google. The Title should describe the content of the entire web page. Since the title is not within the display portion of the document, the content of the title should be repeated in a high level heading, preferably the top level heading, <H1>. Example,

<title>Title, Headings and Paragraph Elements</title>

Headings

Heading elements appear within the Body of the document. Headings require both start and end tags, <h1></h1>. A heading element briefly describes the topic of the section it introduces. The top level heading, <H1> usually describes the contents of the entire page. There are five sub level headings, ranging in importance from <H2> to the least important heading, <H6>. You are advised to use only one <H1> on a page and it should be at, or near, the top of the body of the document. The sub level headings may be repeated and nested as needed. Search engines, such as Google.com, rely on the structural information imparted by headings when it comes to rating the relevance of a web page. Example,

<h1>Title, Headings and Paragraph Elements</h1>

Paragraph

Paragraph elements appear within the Body of the document. The start tag <p> and end tag </p> are required by the XHTML standard. Example,

<p>Paragraph elements appear within the Body of the document.</p>

Block-Level Elements

Heading and paragraph elements are block-level elements, which means they start and end with a new line.