Quiz 2 Flashcards

1
Q

selector, property, value

A

selector specifies HTML elements to style.

property is the name of the css style. value is the value for the css style.

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

ems vs rems

A

ems is relative to element size, rems is relative to root element size

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

Steps of the Cascade Effect

A
  1. Browser’s default styles
  2. External style sheets (in a tag)
  3. Internal style sheets (in a tag in the page header)
  4. Inline style
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

classes vs. ids

A

classes: used on many elements

id’s: used on only 1 element per page.

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