Which of the following option a rule consists of?
A. Tag
B. Selector
C. Declaration
D. Both (C) and (D)
Answer: Option D
Related Questions on CSS Properties, CSS Elements, CSS Functions and Tables
A. div
B. span
C. box-model
D. both (A) and (B)
The _____________ property specifies the background color of an element.
A. background-color
B. border
C. color
D. display
The ___________ property specifies if/how an element is displayed.
A. background-color
B. border
C. color
D. display
A. margin
B. box-sizing
C. padding
D. none of the mentioned
Join The Discussion