Web Page Design: Exercises for Section 04

After reading Section 04, try your hand at these exercises. Answers are below.

  1. Try to reproduce the markup inside the table below. There are probably many ways to do this. Don't forget how to enter the special characters "&", "<" and ">"! You can use this text file as a start, just add the HTML tags.

    It is very important to properly nest tags.

    "If you make a phrase with multiply tags that overlap, you must close the first tag last, the second tag second-to-last, and so on."

    It may be helpful to use indentation like this:

    <FONT COLOR="red">
      <EM>Never go to the park at night,</EM>
      there have been 
      <U>
        <I>
          <B>wolves</B> and <B>bears</B> seen lately.
        </I>
      </U>
    </FONT>
    

    I would like to:

    • go to the moon;
    • write a song;
    • paint a picture; and & or
    • retire early.

  2. Using the fettuccine markup from the last section's exercise, add the following changes:
  3. As above, add phrase markup to the linguine exercise in the last section's exercise.
  4. Finally, markup in a similar manner, the last section's exercise on the penne recipe.

 

Answers

  1. Here is sample markup for the above text sample.
  2. Here is sample markup for the fettuccine recipe.
  3. Here is sample markup for the linguine recipe.
  4. Here is sample markup for the penne recipe.

Go to Contents