Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
p:lang(it) { 
  background-color: yellow;
  font-style: italic;
}
</style>
</head>
<body>
<h1>Demo of :lang()</h1>
<p>I live in Italy.</p>
<p lang="it">Ciao bella!</p>
</body>
</html>