styling-css-05-b

$RCSfile: styling-css-05-b.svg,v $ :lang(en) { fill: green} :lang(fr) { fill: blue } :lang(fr-ca) {font-style: italic} Good morning! Bonne avant-midi! $Revision: 1.5 $ raster image of styling-css-05-b

Tests the language selectors, :lang(c). The phrase "Good morning!" should be in green. The phrase "Bonne avant-midi!" should be in blue; in addition, the "avant-midi" should be italic because its Canadian French.

Note that a less specific language (such as fr) also matches a more specific language (such as fr-CA) but a more specific language (such as en-GB) does not match a less specific language (such as en). Also note that language tags,and thus language selectors are case-insensitive.