English

What are the components of a CSS rule?

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]

APPEARS IN

Sumita Arora Computer Applications [English] Class 10
Chapter 6 Cascading Style Sheets (CSS)
Assisted Practice | Q 4. (ii) | Page 272
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×