Some Examples of CSS Control of Inline Formatting

Font-variant — This selects a variant on the font. Allowed values are normal or small-caps, with the obvious meanings. For example, applying small-caps to the acronym NATO yields the small-caps string: NATO.

Contextual selectors apply depending on the context of the element. Thus this em element content is formatted according to the rule that selects for em elements that are somewhere inside a div.

Do I have to spell it out for you, Mr. Galgron? Simply put, it is absolutely essential that we obtain the phase-induction warp field generator from the aliens, or it's curtains for earth! Do you understand what I'm saying, Mr Galgron? ... Mr. Galgron! Turn that bloody Rio player off, man, and listen to me — the fate of the world is in your hands!

This em element is not inside a div, and thus it does not pick up formatting properties from the contextual rule.