зеркало из https://github.com/mozilla/gecko-dev.git
27 строки
398 B
HTML
27 строки
398 B
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="dk">
|
||
|
<head>
|
||
|
<title>testing lang attribute</title>
|
||
|
<style>
|
||
|
div:lang(fr) {
|
||
|
color: green;
|
||
|
}
|
||
|
input:lang(de) {
|
||
|
color: blue;
|
||
|
}
|
||
|
div:lang(dk) {
|
||
|
color: yellow;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div lang="fr">fr language</div>
|
||
|
<div lang="de">
|
||
|
<input value="de language">
|
||
|
</div>
|
||
|
<div>
|
||
|
dk language
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|