HTML Basics
Stanford University Libraries & Academic Information Resources

Address

 [Previous Page]  [Tutorial Top]  [Tech Guide]  [Next Page]

Spore is now pretty well marked up. All that remains is to give some credit to the author, who has been staring over our shoulders patiently wondereing when we were going to mention her.

Now it happens that among its deficiencies, HTML doesn't really have any elements to identify typical "title page components", such as author/byline, imprint, etc, but it does offer a general purpose address tag that is intended for "such information as address, signature, an authorship, often at the top or bottom of a document", and that's what we'll use.

Note that address collapses whitespace including newlines, so in order to keep the lines of the address, we'll have to insert a <br> at the end of each line but the last.

Recall the skeletal outline of our document

  <html>
    <head>
      <title>The Invasion of the Giant Spore</title>
    </head>
    <body>
      <h1>The Invasion of the Giant Spore</h1>

      <!--
          The body of this document consists of sections,
          paragraphs, and lists
      -->
    </body>
  </html>

We'll simply insert our address element at the beginning of the body, immediately following h1 like this:


    <body>
      <h1>The Invasion of the Giant Spore</h1>

      <address>SOLINET Preservation Program<br>
      Leaflet Number 5<br>
      by Sandra Nyberg<br>
      1 November 1987
      </address>

and it will be rendered

The Invasion of the Giant Spore

SOLINET Preservation Program
Leaflet Number 5
by Sandra Nyberg
1 November 1987

Our markup of Spore is now complete. If you'd like to see how all the parts fit together, look at the marked up source document or the final product ready for the net

 [Previous Page]  [Tutorial Top]  [Tech Guide]  [Next Page]


Walter Henry
Stanford University Libraries and Academic Information Resources