Chapter 3 Quiz Questions

 

1.      What are the two ways of specifying a color in HTML file? What are the advantages and disadvantages of each?

 

2.      What tag would you enter in your HTML file to use a color scheme of red text on a gray background, with hypertext links displayed in blue, and previously visited hypertext links displayed in yellow?

 

3.      What is spot color?

 

4.      What tag would you enter to format the words “Major Sale” in red, with a font size of 5 points larger than the surrounding text?

 

5.      What tag would you enter to display the text “Major Sale” in the Times New Roman font and, if that font is not available, in the MS Serif font?

 

6.      What tag would you enter to use the graphic file “Stars.gif” as the background image for a Web page?

 

7.      Name three things you should avoid when using a background image for your Web page.

 

8.      Discuss three reasons for using the GIF image format instead of the JPEG format.

 

9.      Discuss three reasons for using the JPEG image format instead of the GIF format.

 

10.  What HTML tag would you enter to display the alternate text “MidWest University” in place of the graphic image mwu.jpg?

 

11.  What tag would you enter to align the mwu.jpg image with the top of the surrounding text?

 

12.  What tag would you enter to wrap the surrounding text around the left side of the mwu.jpg images?

 

13.  What tag would you enter to increase the horizontal and vertical space around the mwu.jpg image to 10 pixels?

 

14.  The mwu.jpg image is 120 pixels wide by 85 pixels high. Using this information, what would you enter into your HTML file to increase the speed at which the page is rendered by the browser?

 

15.  What is dithering?

 

16.  What is the Safety Palette?

 

17.  What is a hotspot?

 

18.  What is an image map?

 

19.  What HTML tag would you enter to define a rectangular hotspot with the upper-left edge of the rectangle at the point (5,20) and the lower- right edge at (85,100)? If the user clicks this hotspot the file Oregon.htm will be displayed.

 

20.  What tag would you enter for a circular hotspot centered at (44,81), with a radius of 23 pixels and linked to the file LA.htm?

 

21.  What tag would you enter for a hotspot that connects the points (5,10), (5,35), (25,35), (30,20) and (15,10) and is linked to the Hawaii.htm file?

 

22.  What HTML tag would you enter to assign an image map named States to the graphics file WestCoast.gif?

 

23.  What HTML tag would you enter to increase the border around the WestCoast graphic to 5 pixels?