Answers CHAPTER 2 63
C. Incorrect: The use of disabled with a value of true is not an acceptable way to
implement Boolean attributes.
D. Correct: The use of disabled with a value that is the same as the attribute name is
one way to implement Boolean attributes by using quoted form.
Lesson 2
- Correct answer: D
A. Incorrect: The element creates a hyperlink.
B. Incorrect: The - Correct answer: A
A. Correct: The SVG file type is used to create Scalable Vector Graphics, which scale
well while maintaining quality.
B. Incorrect: The GIF file type is best for small images with limited colors, but it is
raster-based and does not scale well.
C. Incorrect: The JPG file type is best for photos when millions of colors are used and
high compression is desirable, but it is raster-based and does not scale well.
D. Incorrect: The PNG file type is best for photos when millions of colors are used
and medium no-loss compression is desirable, but it is raster-based and does not
scale well.