Images Flashcards
1
Q
What two attributes are required in an image tag?
A
src and alt
2
Q
When should you use the JPEG format?
A
whenever you have many different colors in a picture
3
Q
When should you use the GIF or PNG format?
A
- when saving images with few colors or large areas of the same color
- when a picture has an area that is filled with exactly the same color, it is known as “flat color”
4
Q
What HTML5 elements contain images and their caption so that the two are associated?
A
(figure) and (figcaption)