CSS styles consist of rule sets applied to HTML elements by their selectors (e.g., body, h1, p, .myclass, #myid, etc.). However, a single rule consists of a property and its value, separated by a ____.

CSS styles consist of rule sets applied to HTML elements by their selectors (e.g., body, h1, p, .myclass, #myid, etc.). However, a single rule consists of a property and its value, separated by a ____.


a. colon
b. comma
c. semicolon
d. forward slash


Answer: a. colon


Learn More :