ol i { font-style: italic ; color: #990000 }

dl i { font-style: oblique ; font-variant: small-caps }

will produce different kinds of italics

  1. depending on whether it's an ordered list
or a definition list

and will leave them normal elsewhere

 

p.led:first-line { font-variant: small-caps }

When the paragraph is in led style, you'll get a first line that's small caps and then the rest of it will be normal.

 

p.dc:first-letter { font: 300% ; float: left ; vertical-align: text-top }

When a paragraph is in dc style, you'll get a drop cap (as long as the browser is cooperating). Note that you can also do other things with the first character.

 

 

»