Full version, Basic version

Specification link: 6.7 Styling with CSS

styling-css-03-b ← index → styling-css-06-b

# styling-css-05-b
SVG Image | PNG Image

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.

styling-css-03-b ← index → styling-css-06-b

Distributed under both the W3C Test Suite License and the W3C 3-clause BSD License.
To contribute to a W3C Test Suite, see the policies and contribution forms.