Make your own free website on Tripod.com
Back to Overview

Headings and Paragraphs

This section covers the basic tags used for headings and paragraphs. Almost all text in an HTML document will be enclosed within these tags. For formatting the text, see the appropriate section.
Note: Any space between the headings and the text around them is the formatting of the heading itself; I have not added any spaces between the text and the heading.

  • <H1>
  • <H2>
  • <H3>
  • <H4>
  • <H5>
  • <H6>
  • <P>
  • Comment Tag: <!-- _ -->

  • The <H1> Tag

    This tag's use indicates that the text between it and its closing tag is to be presented as a main heading. It must be closed by typing </H1>. Attributes

    This is what Heading 1 looks like on your browser.

    Back to top


    The <H2> Tag

    This tag tells the browser that the text between it and its closing tag is to be presented as a heading slightly inferior to Heading 1. It must be closed by typing </H2>. Attributes

    This is what Heading 2 looks like on your browser.

    Back to top


    The <H3> Tag

    The text between this tag and its closing tag is presented as a heading slightly inferior to Heading 2. It must be closed by typing </H3. Attributes

    This is what Heading 3 looks like on your browser.

    Back to top


    The <H4> Tag

    This tag tells the browser that the text between it and its closing tag is to be presented as a heading slightly inferior to Heading 3. It must be closed by typing </H4>. Attributes

    This is what Heading 4 looks like on your browser.

    Back to top


    The <H5> Tag

    The text between this tag and its closing tag is presented as a heading slightly inferior to Heading 4. It must be closed by typing </H5>. Attributes

    This is what Heading 5 looks like on your browser.

    Back to top


    The <H6> Tag

    The browser presents the text between this tag and its closing tag as a heading slightly inferior to Heading 5. This is the lowest heading available in HTML. It must be closed by typing </H6>. Attributes

    This is what Heading 6 looks like on your browser.

    Back to top


    The <P> Tag

    This tag indicates paragraph text, such as what I am writing now. It is the most common type of text and is often used for links as well. It must be closed by typing </P>. However, you need not enclose every paragraph its own set. The tags must include all the text that will be presented as this type of text. The tag must be closed before a different type of text can be entered (such as a heading or a list).Attributes
    Back to top


    The Comment Tag: <!-- _ -->

    This tag allows you to insert comments and notes into an HTML file without affecting the appearance of the document. To use this tag, substitute your comment for the _ sign in my example above. A comment does not show up in the browser and can be any length.
    Back to top


    Fantasia
    Fantasia___@yahoo.com (That's Fantasia___@yahoo.com with three _'s. "_~)