What are the two components of a style rule? Describe them.
What will be an ideal response?
A style rule is composed of two parts: a selector and a declaration. The style rule expresses the style information for an element. The selector determines the element to which the rule is applied. Selection is the key to working with CSS. The declaration, contained within curly brackets, details the exact property values.?
Computer Science & Information Technology