Studying for my exam, I decided to practice answering some past questions without looking at the markscheme. One question in particular has me stumped:
The question asks to explain the effect and identify which elements will be affected by the following rule:
p ul li {
color:blue;
}
I created a simple HTML layout on JSFiddle: http://jsfiddle.net/2nkmzgv2/
Here is the code snippet:
<p>
<ul>
<li>Should this text be blue?</li>
</ul>
</p>
As I tested it out, I noticed that the text did not change to blue as expected. This left me wondering if nothing was meant to happen at all or if there was an issue with my syntax or method in the HTML content.