HTML and CSS Reference
In-Depth Information
To add the J-Prop Shop address:
1. Return to the jprop.htm file in your text editor.
2. Scroll down to the bottom of the file, and then within the footer element insert
the following code, as shown in Figure 1-22:
<address>The J-Prop Shop
541 West Highland Drive
Auburn, ME 04210
(207) 555 - 9001
</address>
Figure 1-22
Adding an address
3. Save your changes to the file, and then refresh jprop.htm in your Web browser.
Figure 1-23 shows the revised page with the address text.
Figure 1-23
Address as rendered in the Web page
address text is
displayed in
italic by default
The address text appears in italic at the bottom of the page. Note that even though you
entered the company name, street address, city, state, and phone number on multiple
lines, in the browser they all appear to run together on a single line. Remember that the
browser ignores the occurrence of line breaks, tabs, and other white space in your text
document. Shortly, you'll learn how to make this text more readable by adding a charac-
ter symbol to separate the different parts of the address. For now, you'll leave the address
text as it is.
Marking a List
Dave wants to display a list of products on this sample page. This information is pre-
sented on his fl yer as a bulleted list. He wants something similar on the Web site. HTML
supports three kinds of lists: ordered, unordered, and description.
Search WWH ::




Custom Search