One-Hour HTML Tutorial

Lesson 1: The Basic HTML Page

The HTML Language is composed of tags <tag>. Tags are usually set in pairs <tag></tag> with the </tag> being the close tag. The minimum tags that make up a basic HTML page are:

    <HTML></HTML>    - Defines the page as an HTML
    <HEAD></HEAD>    - Defines properties of the page
    <TITLE></TITLE>  - Where the title of your page goes
    <BODY></BODY>    - Where your actual information goes

Here is a basic HTML page: (see how Example 1 is rendered)

    <HTML>
    <HEAD>
    <TITLE>Example 1</TITLE>
    </HEAD>
    <BODY>
    HTML is Easy To Learn.  Welcome to your first page.
    </BODY>
    </HTML>

To break apart lines, use the <BR> tag. (see Example 2)

    <HTML>
    <HEAD>
    <TITLE>Example 2</TITLE>
    </HEAD>
    <BODY>
    HTML is Easy To Learn.<BR>
    Welcome to your first page.
    </BODY>
    </HTML>

To separate paragraphs, use the <P> and </P> tags. (see Example 3)

    <HTML>
    <HEAD>
    <TITLE>Example 3</TITLE>
    </HEAD>
    <BODY>
    <P>HTML is Easy To Learn.</P>
    <P>Welcome to your first page.</P>
    </BODY>
    </HTML>

by Robert Dolores