CSS SYNTAX Flashcards
1
Q
What are the names of the individual pieces of a CSS rule?
A
group of selectors + declaration block+property+value
2
Q
In CSS, how do you select elements by their class attribute?
A
.whatever
3
Q
In CSS, how do you select elements by their tag name?
A
whatever
4
Q
In CSS, how do you select an element by its id attribute?
A
attribute value