DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<!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>