styling-css-05-b

raster image of styling-css-05-b.png raster image of styling-css-05-b.png

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.