Explain the rule set in CSS.

Answer Posted / hrpynux@gmail.com

A CSS rule is a grouping of one or more CSS properties which are to be applied to one or more target HTML elements. A CSS rule consists of a CSS selector and a set of CSS properties. The CSS selector determines what HTML elements to target with the CSS rule.In the example above it is the div part of the CSS rule.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you link an external style sheet?

275


What is the syntax to link external style sheet?

298


How many types of CSS styling?

318


What is css2 and css3?

290


Css rule to disable text selection highlighting?

286






What is responsive?

245


How to restore the default property value using CSS?

371


What is the difference between inline, embedded and external style sheets?

342


What is sans serif in css?

298


Is flexbox a framework?

274


What is a wrapper div?

282


Why do we use webkit in css?

272


How are contextual selectors used in css?

288


What is css hanging-punctuation property?

271


What are the different web fonts formats in css?

262