CSS Selectors select HTML elements on which to apply particular styling rules. For example, in the following CSS rule set, the h1
selector applies orange color and italics to all content in the h1
element.
h1 {
color: orange;
font-style: italic;
}