Home »
MCQs »
HTML MCQs
Which is the correct HTML statement to define the red color of the paragraph text?
21. Which is the correct HTML statement to define the red color of the paragraph text?
- <p style="color: #ff0000;">
- <p style="color: red;">
- Both A. and B.
- None of the above
Answer: C) Both A. and B.
Explanation:
The correct HTML statement to define red paragraph color is,
<p style="color: #ff0000;">
<!--OR-->
<p style="color: red;">