From http://www.w3schools.com (Copyright Refsnes Data)

CSS :lang pseudo-class


CSS Reference Complete CSS Reference

Definition

The :lang pseudo-class allows the author to specify a language to use in a specified element.

Examples

The :lang pseudo-class allows you to define special rules for different languages. In the example below, the :lang class defines the type of quotation marks for q elements with a lang attribute with a value of "no":

<html>
<head>
<style type="text/css">
q:lang(no)
{
quotes: "~" "~"
}
</style>
</head>
<body>
<p>Some text <q lang="no">A quote in a paragraph</q>
Some text.</p>
</body>
</html>


Try-It-Yourself Demos

:lang (does not work in IE)
This example demonstrates the use of the :lang pseudo-class.


CSS Reference Complete CSS Reference

From http://www.w3schools.com (Copyright Refsnes Data)