Example(s):,
Office Professional Plus 2010
In this example,
Windows 7, we condense 3 policies with identical declarations
into one particular. Thus,
Windows 7 Activation,
h1 font-family: sans-serif
h2 font-family: sans-serif
h3 font-family: sans-serif
is equivalent to:
h1, h2,
Windows 7 Ultimate, h3 font-family: sans-serif
Example(s):
The following rule matches all H1 factors inside the
document tree:
h1 font-family: sans-serif
Example(s):
For instance,
Microsoft Office 2007 Professional, contemplate the following principles:
h1 color: red
em color: red
Although the intention of those guidelines is usually to add emphasis to text by
shifting its shade, the result is going to be lost inside a scenario this sort of as:
<H1>This headline is <EM>very</EM> important</H1>
We address this circumstance by supplementing the previous guidelines with a
rule that sets the text coloration to blue whenever an EM occurs anywhere
within an H1:
h1 color: red
em color: red
h1 em color: blue
The third rule will match the EM within the subsequent fragment:
<H1>This <SPAN class="myclass">headline is <EM>very</EM> important</SPAN></H1>