CSS selectors - elements, class, id, and contextual

element selectors

p {
background-color: white;
color: maroon;
}

ul {
border: medium solid green;
}

li {
background-color: lightsalmon;
}

h1,
h2,
h3 {
background-color: black;
color: white;
}

CSS element selector example

rendered page