Here is the code :
<a href="example.html" hreflang="en">Some text</a>
<a href="example.html" hreflang="en-UK">Some other text</a>
<a href="example.html" hreflang="english en">will not be outlined</a>
<a href="example.html" hreflang="english enenen">will not be outlined</a>
<a href="example.html" hreflang="english en---">will not be outlined</a>
Jquery for that
<script type="text/javascript">
$(document).ready(function () {
//$("ul li:nth-child(2)").append("<span> - 2nd!</span>")
$("a[hreflang~='en']").css({ border: "3px green dotted" });
});
</script>
Done :)
<a href="example.html" hreflang="en">Some text</a>
<a href="example.html" hreflang="en-UK">Some other text</a>
<a href="example.html" hreflang="english en">will not be outlined</a>
<a href="example.html" hreflang="english enenen">will not be outlined</a>
<a href="example.html" hreflang="english en---">will not be outlined</a>
Jquery for that
<script type="text/javascript">
$(document).ready(function () {
//$("ul li:nth-child(2)").append("<span> - 2nd!</span>")
$("a[hreflang~='en']").css({ border: "3px green dotted" });
});
</script>
Done :)
Comments
Post a Comment