<!DOCTYPE html>
<html>
<head>
<script src="/lib/jquery-1.12.2.min.js"></script>
<script>
$(document).ready(function(){
    $("a[hreflang|='en']").css("background-color", "yellow");});
</script>
</head>
<body>

<a href="../../w3schools.com/index.html" hreflang="en">w3schools.com</a><br>
<a href="../../w3schools.com/index.html" hreflang="en-us">w3schools.com</a><br>
<a href="../../w3schools.com/index.html" hreflang="us-en">w3schools.com</a><br>
<a href="../../w3schools.com/index.html" hreflang="fr">w3schools.com</a>

<p>This selector selects both "en" and "en-us".</p>

</body>
</html>