McGraw-Hill OnlineMcGraw-Hill Higher EducationLearning Center
Student Center | Instructor Center | Information Center | Home
Sample Code
Multiple Choice Quiz
True or False
Feedback
Help Center


Programming the Web Using XHTML and JavaScript
Larry Randles Lagerstrom

Images, Links and Multimedia

Multiple Choice Quiz



1

Which attribute is used in the <img> tag?
A)src
B)source
C)sourcefile
D)imagesrc
2

Which URL uses a relative pathname?
A)http://www.nasa.gov/image folder/earth2.jpg
B)earth2.jpg
C)astronomy/earth2.jpg
D)B and C
3

Which attribute of the <img> tag is used to display text while an image is loading?
A)alternate
B)text
C)atxt
D)alt
4

Which tag can be used to create an internal link?
A)<a href>
B)<a id>
C)<a name>
D)all of the above
5

The # sign indicates an internal link and is used in which tag?
A)<a href>
B)<a id>
C)<a name>
D)all of the above
6

The name attribute has been deprecated in favor of the id attribute in which tag?
A)<a>
B)<embed>
C)<image>
D)all of the above
7

Which extension is used for a video file?
A).au
B).wav
C).jpg
D).mpg
8

Which extension is used for an audio file?
A).qt
B).wav
C).jpg
D).mpg
9

Which tag is not officially recognized by either HTML or XHTML?
A)<a>
B)<font>
C)<embed>
D)<map>
10

A(n) ________ stores several images in one graphics file, to be displayed in sequence when the file is read by a browser.
A)flash animation
B)animated GIF
C)MPEG
D)QuickTime movie




McGraw-Hill/Irwin