0 votes
in HTML by

 What is a CSS rule?

1 Answer

0 votes
by

Web browsers apply CSS rules to a document to affect how they are displayed. A CSS rule is formed from:

  • set of properties, which have values set to update how the HTML content is displayed,
  • selector, which selects the element(s) you want to apply the updated property values to.

A set of CSS rules contained within a stylesheet determines how a webpage should look.

Related questions

0 votes
asked Aug 17, 2020 in HTML by RShastri
+1 vote
+1 vote
asked Aug 17, 2020 in HTML by RShastri
...