Web Development and Design Foundations with XHTML, 5th Edition

(Steven Felgate) #1
Apply Your Knowledge^151

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">


4.Why should you include height and width attrib-
utes on an tag?
a. They are required attributes and must always
be included.
b. They help the browser render the page faster
because it reserves the appropriate space for
the image.
c. They help the browser display the image in its
own window.
d. none of the above


5.Which attribute specifies text that is available to
browsers and other user agents that do not sup-
port graphics?
a.alt
b.text
c.src
d. none of the above


6.What is the term used to describe a square icon
that is associated with a Web page and is
displayed in the browser address bar or tab?
a. background
b. bookmark icon
c. favicon
d. logo


7.Which of the following graphic types is best
suited to photographs?
a. GIF
b. photo
c. BMP
d. none of the above


8.Which of the following graphic types can be
made transparent?
a. GIF
b. JPG
c. BMP
d. photo


9.Which of the following configures empty space
between the content of the XHTML element
(usually text) and the border?
a.vspaceproperty
b.paddingproperty
c.marginproperty
d. none of the above
10.Which of the following configures a graphic to
repeat vertically down the side of a Web page?
a.hspace="10"
b.background-repeat:repeat;
c.valign="left"
d.background-repeat: repeat-y;

Fill in the Blank
11.A background image will automatically be
repeated, or __________________, by a Web
browser.
12.If your Web page uses graphic links, include
__________________ at the bottom of the page to
increase accessibility.
13.A __________________ image is a smaller version
of a larger image that usually links to the larger
image.
14.One method to obtain graphics for your Web site
is to __________________.
15.A(n) __________________ is an image that can be
used as one or more hyperlinks.
Free download pdf