PrepAway - Latest Free Exam Questions & Answers

Which two CSS segments will achieve the goal?

You are developing a web page that includes the following HTML.
<span id = “myTextSpan” class = “redText”> Hello There! </span>
The font color of text inside the span must be red.
You need to develop the web page to meet the requirement.
Which two CSS segments will achieve the goal? (Each correct answer presents a complete solution. Choose
two.)

PrepAway - Latest Free Exam Questions & Answers

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:
You can refer to class, by .redText, or the span, by span#myTextSpan.


Leave a Reply