Hi Folks, Some food for thought. I recently took an exam on Web Development fundamentals and here is a question that I’m having a tough time with. I’d greatly appreciate your inputs on this question.
Best Regards.
Which one of the following changes the text color of only "sample paragraph 1" in the sample code above?
Choice 1 : h1:before p {
* color: blue;
}
Choice 2 : h1 > p {
* color: blue;
}
Choice 3: h1 p:first {
* color: blue;
}
Choice 4: h1 + p {
* color: blue;
}
Choice 5: h1 p {
* color: blue;
}
Bookmarks