Labs

Lab 4.2: Text Processing

Print
References

Let's now turn to developing content for your home page. Since most HTML1 documents consist primarily of text (hyper2 and otherwise), we'll start by describing how text gets presented and formatted.

1pp. 29, 70, 82, 89, 90-91
2pp. 69, 100–104

In all of the remaining lab exercises for this module we'll be using Rick & Stu's Home Page as a model for illustrating a variety of HTML features. Each exercise set will focus on just a few of the features of the page.

To help you see just those features we're interested in, we present you with two windows: one for viewing an HTML file describing a mini-version of our home page, and the other to see what the code looks like when it is interpreted by your browser3. You'll notice that many of the HTML tags are colored and underlined in the code window. This indicates that they can be clicked on (in these demonstrations only), to view the corresponding part of the browsed page.

  1. In this case, our mini-page is primarily text. Look, now, at the text portion of our home page, and scroll through the highlighted HTML code to see which tags produce which portions of the text. In particular, find the tags that produce
    1. the header for Rick's bio
    2. the silver-colored "Silver Fox"
    3. the italicized quote at the end of Stu's bio
    4. the underlined title of the text for this course
    5. the bold-faced, italicized question posed when describing the Analytical Engine
    6. the font used to display the programming.java header
    7. the bold-faced word fun, used in the description of our curriculum
    8. the horizontal rule near the very bottom of the page

  2. Now, return to your home-page-in-the-making (from lab 4.1), and add some text to describe yourself and your interests. You are, of course, free to write whatever you wish (remembering that others, probably including your instructor for this course, will be reading what you write). For the sake of these exercises, though, be sure to include the following stylistic elements.
    1. 3 or more paragraphs
    2. text that is underlined
    3. text in bold face
    4. some italicized text
    5. at least two different fonts
    6. at least two different headers, at different levels
    7. at least two horizontal rules
    8. a favorite quote
3pp. 9, 14–15, 70–71, 143, 146

Labs

MODULES:


Home Search Resources Objectives Feedback Order Form Credits

Copyright Notice
© 1998 PWS Publishing Company, All Rights Reserved.