Here is a small piece of code.
<style ...>
h1 { color: red }
h2 { color: olive }
em { color: red }
h1 em { color: blue }
</style ...>
<body>
<H1>This <h2>headline is <EM>very</EM> important</h2> to me.</H1>
</body>
I even tried this code in jsfiddle, but I could not understand WHY the last two words are displayed in black for me . I thought it would be red.
source
share