Images Flashcards

1
Q

html element used to display images

A

img

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

img element’s required attribute

A

src

ex

src=”path/to/image.png”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

element that represents a caption or a legend associated with a figure

A

figcaption

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

true or false - img is a self-closing tag

A

true

ex

[img src=”src” alt=”alt” ]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly