Choose the correct declaration of the following CSS3
Select one:
Obody{colorred)
body={color red)
body colorred
body (color-red:
Answers
Answer:
Body {color: red}
Explanation:
This is the true syntax.
Answer:
ANSWER IS body (color-red)
Explanation:
p {color: red;}
We use p {color: red;} syntax for make all paragraph elements red in color.
The color CSS property sets the foreground color value of an element's text and text decorations, and sets the <currentcolor> value. currentcolor may be used as an indirect value on other properties and is the default for other color properties, such as border-color.
It is important to ensure that the contrast ratio between the color of the text and the background the text is placed over is high enough that people experiencing low vision conditions will be able to read the content of the page.
Color contrast ratio is determined by comparing the luminosity of the text and background color values
#SPJ3