HTML and CSS Reference
In-Depth Information
Your turn: add two classes, “raspberry” and “blueberry” to the
correct paragraphs in “elixir.html” and then write the styles
to color the text blue and purple, respectively. The property
value for raspberry is “blue” and for blueberry is “purple”.
body {
font-family: sans-serif;
h1, h2 {
color: gray;
h1 {
border-bottom: 1px solid black;
p {
color: maroon;
p.greentea {
color: green;
p.raspberry {
color: blue;
p.blueberry {
color: purple;
Search WWH ::

Custom Search