Login for Software or Support

CoffeeCup - HTML Editor, Flash & Web Design Software

Over 48,871,457 Downloads in 87 Countries

Tell a Friend About Our Cool Software

Buy the Book Here !

Chapter 3: Review and Practice


In Chapter 2 we started creating a Website for a photographer. At that point we were limited to using the HTML tags that were covered so far, and the resulting site was pretty basic--not really ready to publish, to be honest. With what you have learned in this chapter you are ready to take that site to the next level. To remind you of what that page looked like, refer to Figure 3.6. Dave Davison Photographer
Figure 3.7. The original Web page as created in Chapter 2.

What would this page benefit from? There are quite a few things, but as for the changes we can accomplish with the tags you learned about in this chapter let's focus on these:

  • Displaying a page background.
  • Changing the appearance and alignment of some of the text.
  • Using headings in the resume.
  • Using a horizontal rule to separate parts of the page.
Listing 3.1 shows the HTML source code for the page after making the changes, and Figure 3.8 shows the resulting display. You should look specifically for:
  • Addition of the background attribute to the <body> tag to use the image paper1.gif as the page background. This imager provides the appearance of high quality stationery, and while it may not be visible in the figure it really is a professional touch.
  • Use of the <font> tag to display the page's main heading in a different font.
  • Use of the <font> tag to display the first bulleted list in a different font.
  • Use of the <hr>; tag to create a horizontal rule to separate the resume from the rest of the page.
  • Use of <h2> and <h3> tags for the headings in the resume.
All in all, I think you'll agree that this version of the Web page is a lot better than the original. You might even consider publishing this one--but there are still some improvements we could make, particularly as regards the layout. Those improvements will have to wait for the next chapter.

Listing 3.1. HTML source for the modified Web page.

<html>
<head>
  <title>Dave Davison Photographer</title>
  <meta name="keywords" content="photography,
photographer" />
</head>
<body background="paper1.gif">
<p align="center">
<font size="7" face="Calligrapher" color="#0000FF">Dave Davidson, Photographer</font></p>
<p><a href="#resume">View my resume</a></p>
<img src="image01.jpg" />
<img src="image02.jpg" />
<img src="image03.jpg" />
<img src="image04.jpg" />
<font size="4" face="Cornerstone"><ul>
<li>Fine Art</li>
<li>Landscapes</li>
<li>Architecture</li>
</ul></font>
<hr>
<h2><a name="resume">Resume</a></h2>
<p>Dave Davidson has been an active photographer since 1992. He specializes in
portraits and fine art prints.</p>
<h3>Education</h3>
<ul>
<li>BS, Art History, University of Pennsylvania, 1988</li>
<li>MS, Photography, Chicago School of Design, 1991</li>
</ul>
<h3>Exhibitions</h3>
<ul>
<li>Images From Nature, Smith Gallery, Los Angeles, 1994</li>
<li>Dave Davidson, Photographer in Nature, Oak Creek Center, Houston, 1996</li>
<li>Architecture of Manhattan, Bowles Museum, New York, 1999</li>
</ul>
</body>
</html>

Figure 3.8. The modified Web page looks a lot nicer than the original.


Table of Contents
Download Our Software:

... and don't forget about our Free Software

CoffeeCup Home Page | Software | Copyright & Legal | Site Map | © 1996 - 2008 CoffeeCup Software, Inc.