Images Flashcards
1
Q
html element used to display images
A
img
2
Q
img element’s required attribute
A
src
ex
src=”path/to/image.png”
3
Q
img attribute that isn’t strictly required but should be included for standards compliance
A
alt
ex
img src=”path” alt=”alternate text”
4
Q
html element used to specify that the content within it is meant to be a representation of something that is discussed in the surrounding content
A
figure
ex
[figure]
[img src=”path” alt=”alt text” /]
[figcaption]Some caption[/figcaption]
[/figure]
5
Q
element that represents a caption or a legend associated with a figure
A
figcaption
6
Q
true or false - img is a self-closing tag
A
true
ex
[img src=”src” alt=”alt” ]