A CSS rule-set consists of a _____ and a _________
1 point
a. Selector , declaration block
b. http , html
c. comma , semicolon
d. None of these
Answers
Answered by
34
Answer:
A CSS rule-set consists of a Selector and a Declaration block. Hence, option (a) is correct.
Explanation:
CSS stands for Cascading Style Sheet. A CSS rule set consists one or more selectors and one or more declarations separated by semicolons. Each declaration includes a CSS property name and a value. CSS selectors used to find the HTML elements.
Let us take an example to understand better about Selector and Declaration block.
p {
color: red;
text-align: center;
}
Where,
- p is Selector.
- color: red; is Declaration.
- color is Property.
- red is value.
- text-align: center; is Declaration.
- text-align is Property.
- center is Value.
#Learn more:
Bgcolor is Used to specify the path of the picture to be displayed in background in a webpage true/false
- brainly.in/question/32579060
Similar questions
Math,
9 days ago