Web Development and Design Foundations with XHTML, 5th Edition

(Steven Felgate) #1

CHAPTER


This chapter introduced the use of visual elements and graphics on Web pages. As you
continue to create Web pages, refer to the guidelines and accessibility issues related to
graphics. The number one reason visitors leave Web pages is long download times.
When using images, be careful to minimize download time. Also, provide alternatives to
images (such as text links) and use the altattribute on your pages.


Visit the textbook Web site at http://www.webdevfoundations.net for examples, the
links listed in this chapter, and updated information.


Key Terms







altattribute
animated GIFs
antialiasing
background-imageproperty
background-repeatproperty
borderproperty
border-colorproperty
border-styleproperty
border-widthproperty
favicon
gamma
GIF
halo effect
heightattribute
hotspots
hspaceattribute
image link
image map
image optimization
image slicing
interlaced image
JPEG
longdescattribute
lossless compression

lossy compression
min-width property
paddingproperty
pixelation
PNG
progressive JPEG
resolution
srcattribute
thumbnail image
transparency
usemapattribute
vspaceattribute
widthattribute

Review Questions


Multiple Choice


1.Which CSS property is used to change the back-
ground color?
a. bgcolor
b. background-color
c. color
d. none of the above
2.Which is the correct CSS syntax to configure the
text color dark blue (#000033)?
a.body: color=#000033
b.{ body color:#000033 }
c.body { color:#000033 }
d.body { text-color:#000033 }

3.Which of the following creates an image link to
the index.html page when the home.gif graphic is
clicked?
a.<a href="index.html" src="home.gif"
alt="Home"></a>
b.<a href="index.html"><img
src="home.gif" alt="Home" /></a>
c.<img src="home.gif" href="index.html"
alt="Home">
d. none of the above

150

Free download pdf