Advertisements
Advertisements
Question
What are the components of a CSS rule?
Short Answer
Advertisements
Solution
A CSS selector and a collection of CSS properties make up a CSS rule. The HTML items that the CSS rule should target are chosen using the CSS selector. The targeted HTML elements’ styles are specified by the CSS properties.
shaalaa.com
Is there an error in this question or solution?
Chapter 6: Cascading Style Sheets (CSS) - Assisted Practice [Page 272]
