Thursday Morning Review Questions


Let us see how much you have learned by going over these review questions.

  1. Which is not a logical tag?
    1. <ADDRESS>
    2. <CITE>
    3. <I>
    4. <KBD>
    5. <VAR>

  2. Which statement is true about the <MARQUEE> tag?
    1. Is only supported by Microsoft IE.
    2. Is only supported by Netscape Navigator.
    3. Is supported by both Netscape Navigator and Microsoft IE.
    4. Uses NAME as an attribute.
    5. None of the above.

  3. What does status code 200 indicate?
    1. Document not found.
    2. Redirection.
    3. Server side error.
    4. Success, document follows.
    5. Trick question, there is no status code 200.

  4. What does status code 404 indicate?
    1. Document not found.
    2. Redirection.
    3. Server side error.
    4. Success, document follows.
    5. Trick question, there is no status code 404.

  5. How is an ampersand (&) represented in HTML?
    1. &amp;
    2. &
    3. <&>
    4. &#32;
    5. <AMP>

  6. Which tag is used to accommodate frameless browsers?
    1. <AMP>
    2. <BODY>
    3. <FRAME>
    4. <FRAMESET>
    5. <NOFRAMES>

  7. Which TARGET value is not one of the special values?
    1. _BLANK
    2. _FRAME
    3. _PARENT
    4. _SELF
    5. _TOP

  8. Which <IMG> attribute denotes a client-side imagemap?
    1. ALT
    2. IMG
    3. ISMAP
    4. MAP
    5. USEMAP

  9. Which is the default HTTP METHOD ?
    1. GET
    2. HEAD
    3. INPUT
    4. POST
    5. PUT

  10. Which statement is true?
    1. All images in HTML are rectangular.
    2. SIZE is an attribute of the "IMG" tag.
    3. STYLE is an attribute of the "IMG" tag.
    4. STYLE is an attribute of the "LINK" tag.
    5. STYLE is an attribute of the "META" tag.

  11. Which image format supports black and white, interlacing, transparency, animation, and lossless image compression?
    1. GIF
    2. JPEG
    3. x-bitmaps
    4. PNG
    5. None of the above

  12. What section of an HTML document contains information about the document?
    1. The BODY section.
    2. The FOOTER section.
    3. The FORM section.
    4. The HEAD section.
    5. The META section.

  13. BORDER, CELLPADDING, CELLSPACING, and WIDTH are attributes of which HTML tag?
    1. <TABLE>
    2. <TD>
    3. <TH>
    4. <TR>
    5. <UL>

  14. Which is the HTML tag that displays preformatted text in fixed width font?
    1. <BLOCKQUOTE>
    2. <CODE>
    3. <P>
    4. <PRE>
    5. <VAR>

  15. Which is not valid HTML?
    1. <BODY BGCOLOR="#808080">
    2. >TABLE LINK="#CCFFAA"<
    3. <TD BGCOLOR="#808080">
    4. <TD BGCOLOR="#CCFFAA">
    5. <TD></TD>

  16. Which HTML code fragment would set the background color of an individual table cell to red?
    1. <TD BACKGROUND="#FF0000">
    2. <TD BGCOLOR="#FF0000">
    3. <TD BGCOLOR="#FFFF00">
    4. <TD LINK="#FF0000">
    5. <TR BGCOLOR="#FFFF00">

  17. Which is true regarding Cascading Style Sheets?
    1. Style rules may be placed in an external file which can then be linked or loaded into a Web page.
    2. Style sheets can specify colors and fonts.
    3. Style sheets can specify line spacing and margin widths.
    4. Style sheets describe how documents are presented.
    5. All of the above.

  18. Given the HTML code fragment below, how will "happy" be rendered?
    <HEAD>
    <STYLE TYPE="text/css">
    #abc { color: blue; font-style: italic}
    </STYLE>
    </HEAD>
    <BODY>
    <P ID="abc" STYLE="color: red">happy</p>
    </BODY>
    1. In blue, italicized.
    2. In blue, regular font.
    3. In red, italicized.
    4. In red, regular font.
    5. None of the above.

  19. Given the HTML code fragment below, how will "happy" be rendered?
    <HEAD>
    <STYLE TYPE="text/css">
    .cool {font-style: italic; text-transform: uppercase; font-size: 12pt} </STYLE>
    </HEAD>
    <BODY>
    <P><STRONG CLASS="cool">happy</STRONG></P>
    </BODY>
    1. HAPPY
    2. happy
    3. HAPPY
    4. happy
    5. None of the above.

It wasn't that hard.