images Flashcards

1
Q

how should images be stored on your site?

A

1) separate folder
2) related folders inside parent folder
3) sub folders

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

what html element do we use to add images to a webpage?

A

(img)

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

what attributes are used in the image element?

A

src / alt / title

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

describe the src attribute in the image element

A

the src attribute stands for source, this is where we enter the location of the image to be displayed

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

describe the alt attribute in the image element

A

the alt attribute provides alternate text for those who cannot see the image for what ever reason

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

describe the title attribute in the image element

A

the tittle element provides additional information about an image.

browsers will display the title as a tooltip when the user hovers over the image

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

provide an example of an image element with values for src, alt and title

A

(img alt = “alternate tex” src = “image/source” title = “image”)

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

the image element is described as an empty or self closing tag what does this mean?

A

an empty or self closing tag does not require a closing tag to work, just an opening tag

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

what is the html5 element (figure) ?

A

is a new way of inserting images into a webpage, a figure provides a container for an image and a caption of that image.

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

what is the html5 element (figcaption) ?

A

is an element used to add a caption/ description of an image. used inside of a figure element along side an (img) element

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