Student Center
|
Instructor Center
|
Information Center
|
Home
Sample Code
Choose a Chapter
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Chapter 14
Chapter 15
Chapter 16
Chapter 17
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
2003 McGraw-Hill Higher Education
Any use is subject to the
Terms of Use
and
Privacy Policy
.
McGraw-Hill Higher Education
is one of the many fine businesses of
The McGraw-Hill Companies
.