A CSS comprises of style rules that are interpreted by the browser and then applied to the corresponding elements in your document. A style rule is made of three parts −Selector − A selector is an HTML tag at which a style will be applied. This could be …