A CSS rule-set consists of a selector and a declaration block.A style rule is made of three parts :
A selector is an HTML tag at which a style will be applied.
A property is a type of attribute of HTML tag. Put simply, all the HTML attributes are converted into CSS properties.
Values are assigned to properties.