Attributes Flashcards

1
Q

width and height attributes of an image

A

< img src=”img_girl.jpg” width=”x” height=”y”>

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

The alt attribute that specifies an alternative text to be used when an image cannot be displayed.

A

< img src=”img_typo.jpg” alt=”Girl with a jacket”>

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

The style attribute used to specify the styling of an element, like color, font, size etc.

A

< tagname style=”property:value;”>

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

The title attribute of a paragraph

A

< p title=”text”> This is a paragraph. < /p>

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

HTML background color

A

< body style=”background-color:value;”> … < /body>

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

HTML font style

A

< tagname style=”font-family:font name;”>

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

HTML text alignment

A

< tagname style=”text-align:center;”>

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