mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
27 lines
411 B
HTML
27 lines
411 B
HTML
<!DOCTYPE html>
|
|
<html lang="dk">
|
|
<head>
|
|
<title>testing lang attribute</title>
|
|
<style>
|
|
div[lang="fr"] {
|
|
color: green;
|
|
}
|
|
div[lang="de"] > input {
|
|
color: blue;
|
|
}
|
|
div:not([lang]) {
|
|
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>
|