Extra Markup Flashcards

1
Q

what is the ID attribute?

A

the ID attribute is a way to specifically identify a HTML element. one ID can be given to one element

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

what is the class attribute?

A

the class attribute is a way to identify multiple HTML elements with the same class name. one class can be given to multiple elements

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

what is a block-level element?

A

a block-level element is an element that is displayed in a block format

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

give examples of block-level elements (min 3)

A

div, h1-h6, p, section

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

what is an inline element?

A

an inline element is an element that is displayed inline

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

give examples of inline elements (min 3)

A

a, b, em, img

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

what is a div element?

A

a div element is a generic container

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

what is the div element used for?

A

a div element is used to group other elements of similarity together

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