<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>xhtml:lang</title>
<style type="text/css">
:lang(ja) {
  color: green;
}
:lang(zh) {
  background-color: orange;
}
</style>
</head>
<body xmlns:xhtml="http://www.w3.org/1999/xhtml"
    xmlns:ns="http://www.example.com/">
<h1><code><var>xhtml</var>:lang</code></h1>

<ns:element xhtml:lang="ja" xml:lang="zh">
An element whose <code><var>xhtml</var>:lang</code> is <code>ja</code>
(but the <code>xml:lang</code> is <code>zh</code>).
</ns:element>

</body>
</html>
