I am trying to enhance the style of my paragraph by applying multiple attributes, such as font color and font type, using CSS. While applying a single attribute like p {color:green}
works fine, I encounter errors when trying to apply more than one line of code to the same paragraph.
Heading elements range from h1 to h6, but what if I want to add three attributes to one heading? How can this be achieved? Below, I have applied one attribute for the body, one for heading (h1), and one for the paragraph (p).
BODY {BACKGROUND-COLOR: LIGHTGRAY}
h1 {COLOR: BLUE}
p {COLOR: GREEN}