ptg16476052
Fonts and Font Sizes 145
7
Each heading you’ve placed on your page marks the beginning of a particular section.
You’ll add IDs to each of the topic headings so that you can jump from section to section
with ease. The IDs are simple: top for the main heading; contents for the table of con-
tents; and about, recent, and upcoming for the three subsections on the page. With the
IDs in place, the revised code looks like the following:
Input ▼
<!DOCTYPE html>
The Bookworm: A Better Book Store
Contents
About the Bookworm Bookshop
Recent Titles (as of July 11, 2012)
Upcoming Events
Adding Content Now begin adding the content. You’re undertaking a literary
endeavor, so starting the page with a nice quote about old books would be a nice touch.
Because you’re adding a quote, you can use the
tag to make it stand out as
such. Also, the name of the poem is a citation, so use there, too.
Insert the following code on the line after the level 1 he ading:
Input ▼
"Old books are best---how tale and rhyme
Float with us down the stream of time!"
-- Clarence Urmy, Old Songs are Best
Immediately following the quote, add the address for the bookstore. Since it contains
tag, as fo llows:
contact information, it’s appropriate to use the
Input ▼
The Bookworm Bookshop
1345 Applewood Dr
Springfield, CA 94325
(415) 555-0034
▼
▼