HTML and CSS Reference
In-Depth Information
the content, so it will show up at the bottom. The header appears at the very end, after all the other content.
Nonetheless, we want it to appear at the top of the page.
Listing 5.15. A Three-Column HTML Page with Header and Footer
Code View:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="">
<title>Dracula, Page 1</title>
<div id="Content">
<h1>Jonathan Harker's Journal</h1>
3 May. Bistritz.--Left Munich at 8:35 P.M., on 1st May,
arriving at Vienna early next morning; should have arrived
at 6:46, but train was an hour late. Buda-Pesth seems a
wonderful place, from the glimpse which I got of it from the
train and the little I could walk through the streets. I feared
to go very far from the station, as we had arrived late and
would start as near the correct time as possible.
<div id="Footer">
<p>The text is in the public domain and courtesy of
<a href="">Project Gutenberg</a>.
<div id="Pages">
<li><a href='page1.html'>Page 1</a></li>
<li><a href='page2.html'>Page 2</a></li>
<li><a href='page292.html'>Page 292</a></li>
<li><a href='page293.html'>Page 293</a></li>
<div id="Books">
<li><a href="/book97/">Flatland: a romance
of many dimensions</a></li>
<li><a href="/book20553/">Out Around Rigel</a></li>
<div id="Authors">
Edward Bellamy | Marion Zimmer Bradley | Edgar Rice Burroughs
| John W. Campbell | Lester Del Rey | Cory Doctorow
| Arthur Conan Doyle | H. Beam Piper | Robert Sheckley
| E. E. Smith | Jules Verne | H. G. Wells
Search WWH ::

Custom Search