Quiz 1 solutions: EECS 101
  1. (2 points) Name ten HTML tags (not including closing, FONT, or "H" tags).

    HTML
    HEAD
    BODY
    TITLE
    P
    BR
    HR
    Hn
    FONT
    B
    I
    U
    PRE
    OL
    UL
    LI
    DL
    DT
    DD
    A
    IMG
    (among others)
    


  2. (2 points) What does <OL> mean? Give a very short example.

    OL stands for "ordered list" (not, by the way, "order list").

    For example, if I used the following HTML:
    <OL>
    <LI>Item one
    <LI>Item two
    </OL>
    
    Netscape would render it as:

    1. Item one
    2. Item two

  3. (1 point) How do write a comment in HTML?

    <!-- your comments here ->

  4. (1 point) If my HTML file contains the following:

    <A HREF="newfile.html">Click here</A>

    what happens when I click on the word "Click" on my browser page?

    The browser renders the page "newfile.html".

  5. (1 point) Which is smaller: <H6> or <FONT SIZE=6>? Explain.

    H6 is smaller. The H tag system goes from 1 (largest) to 6 (smallest). The FONT tag system goes from 1 (smallest) to 7 (largest).

  6. (3 points) Give an HTML segment which would produce the following. (The name of the image file is "apple.gif":
Here is a passage which stretches on for a couple of lines. Here is a passage which stretches on for a couple of lines.
Here is a passage which stretches on for a couple of lines.
Here is a passage which stretches on for a couple of lines. Here is a passage which stretches on for a couple of lines.

<img align=right src="apple.gif">
Here is a passage which stretches on for a couple of lines. 
Here is a passage which stretches on for a couple of lines. 
<br clear=all>
Here is a passage which stretches on for a couple of lines.
<br>
<img align=top src="apple.gif">
Here is a passage which stretches on for a couple of lines. 
Here is a passage which stretches on for a couple of lines.