<!--sample solution-->
<style>
.blue {
color: blue;
}
</style>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
<p class="blue">This is a paragraph that should be blue</p>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
<p>
This is a paragraph that contains an <em class="blue">emphasized</em> word, a regular
word that we happen to want to be <span class="blue">blue</span> and a word that is
<strong class="blue">very</strong> important.
This sentence has <strong>important</strong> and <em>emphasized</em>
words as well, but we don't want <span>any</span> of them to be
<span>blue</span>!
</p>
No comments:
Post a Comment