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.
2
Q
what is a rule?
A
it is a selector followed by a block of declarations.
3
Q
what is a declaration?
A
it’s a property followed by a colon, followed by a value.
4
Q
How do you add comments in CSS?
A
Use /* to start a comment, and */ to end it.