Labs

Lab 4.2: Text Processing

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

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 browser. You'll notice that many of the HTML tags are colored and underlined in the code window. This indicates that they can be clicked (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 boldfaced, italicized question posed when describing the Analytical Engine
    6. the font used to display the programming.java header
    7. the boldfaced 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 read 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 boldface
    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

Labs

MODULES:



© 2004 Thomson/Brooks Cole, All Rights Reserved.