Kizspy | Question: 10
(Choose 1 answer)
Consider the code:
p.center {
text-align: center;
color: red;
}
What is the right statement?
A. only p elements with class="center" will be red and center-aligned.
B. Any HTML elements with class="center" will be red and center-aligned.
C. only one p element with class="center" will be red and center-aligned.
D. All p elements with id="center" will be red and center-aligned.