A Simple HTML Example

This is what your source file could contains for a simple document:

    <h1>A Simple Example</h1>

    This is a simple HTML document. This is the first
    paragraph. <p>

    This is the second paragraph, which shows special effects.  This is a 
    word in <i>italics</i>.  This is a word in <b>bold</b>.
    Here is an inlined GIF image: <img src="myimage.gif">. 
    <p>

    This is the third paragraph, which demonstrates links.  Here is 
    a hypertext link from the word <a href="subdir/myfile.html">foo</a>
    to a document called "subdir/myfile.html". <p>  (If you 
    try to follow this link, you will get an error screen.)

    <h2>A second-level header</h2>

    Here is a section of text that should display as a 
    fixed-width font: <p>

    <pre>
        On the stiff twig up there
        Hunches a wet black rook
        Arranging and rearranging its feathers in the rain ...
    </pre>

    This is a unordered list with two items: <p>

    <ul>
    <li> cranberries
    <li> blueberries
    </ul>

    This is the end of my example document. <p>

    <address>TracyG (tracyg@mycomputer.univ.edu)</address>

The online output is:

A Simple Example

This is a simple HTML document. This is the first paragraph.

This is the second paragraph, which shows special effects. This is a word in italics. This is a word in bold. Here is an inlined GIF image: .

This is the third paragraph, which demonstrates links. Here is a hypertext link from the word foo to a document called "subdir/myfile.html". (If you try to follow this link, you will get an error screen.)

A second-level header

Here is a section of text that should display as a fixed-width font:

        On the stiff twig up there
        Hunches a wet black rook
        Arranging and rearranging its feathers in the rain ...
    
This is a unordered list with two items:

This is the end of my example document.

TracyG (tracyg@mycomputer.univ.edu)

____________________________________________________________________

A Simple HTML Example/ NCSA / pubs@ncsa.uiuc.edu