CSS Syntax Flashcards

1
Q

What are the names of the individual pieces of a CSS rule?

A

The Css ruleset selector, Declaration block, property, value, close brace for the DB.

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

In CSS, how do you select elements by their <class> attribute?</class>

A

.(class)

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

in CSS, how do you select elements by their tag name?

A

Just type in the name of the element

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

In CSS, how do you select an element by its <Id> attribute</Id>

A

(Id)

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