Introduction to HTML
Headings
Copyright © 1996 - 2002 Randy D. Ralph.    All rights reserved.
  Document Segments Lines and Dividers   Course Contents  

In place May 18, 1996.   Last updated May 26, 2000.


HTML Heading Command Syntax:

    The form of the basic HTML heading command is very simple: 

    <hn>(Heading text goes here)</hn>

    where n = the size of the heading text in the range from 1 (the largest) to 6 (the smallest). 

    Examples:

    <h1>This is Heading One (1)</h1>

    This is heading One (1)

    and so on -

    This is heading Two (2)

    This is heading Three (3)

    This is heading Four (4)

    This is heading Five (5)
    This is heading Six (6)


HTML Heading Alignment:

    Headings can be placed on the page using the align=left, =right or =center parameter. 

    Examples:

    <h5 align=right>Heading 5 Aligned Right</h5>

    Heading 5 Aligned Right
    and so on -
    Heading 5 Aligned Center
    Heading 5 Aligned left

  Document Segments Lines and Dividers   Course Contents  
You are here:  NetStrider   »   Tutorials   »   HTML   »   HEADINGS   «