Web Development and Design Foundations with XHTML, 5th Edition

(Steven Felgate) #1

(^340) Chapter 8 Tables
6.Which XHTML attribute specifies the back-
ground color of a table?
a.background
b.bgcolor
c.background-color
d.none of the above
7.Which XHTML tag pair is used to begin and end
a table row?
a.
b.
c.


d. none of the above
8.Which of the following are common uses of
tables on Web pages?
a. configuring the layout of an entire page
b. organizing information
c. forming hyperlinks
d. both a and b
9.Which CSS property specifies the background
color of a table?
a.background
b.bgcolor
c.background-color
d. none of the above
Fill in the Blank
10.The CSS ____ property can be
used to configure the color and width of a table
border.
11.The ____ attribute specifies the
vertical alignment of the contents of a cell in a
table.
12.A table with a width set to 600 pixels will look
____ on a monitor with
resolution set to 640×480 than on a monitor
with resolution set to 1024×768.
13.____ is an attribute of the


element that provides accessibility.
14.____________________ is a CSS property that can
be used to configure the padding of table cells.
Short Answer
15.Explain why it is a good practice to use CSS to
configure page layout instead of an XHTML table.
Apply Your Knowledge


  1. Predict the Result.Draw and write a brief description of the Web page that will be
    created with the following XHTML code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Predict the Result









Trillium Media Design