Consider following snippet:

<div class="question">
    <p class="black green"> 
What will be the color of the text?</p>
</p>
CSS rule:

p.green{
    color:green;
}
.question .black{
    color:black;
}
What will be the color of the text in <p> element?

Topic Statistics

25%

  • 75Right (%)
  • 25Wrong (%)
to get statistics

Follow Quizful

Send Feedback
or join Alpha test group