Syntax Flashcards

1
Q

what is the name of the main piece of the syntax used in CSS?

A

the main piece of syntax is called a rule or a ruleset.

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

what is a rule?

A

it is a selector followed by a block of declarations.

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

what is a declaration?

A

it’s a property followed by a colon, followed by a value.

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

How do you add comments in CSS?

A

Use /* to start a comment, and */ to end it.

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