title: <?php language_attributes(); ?> on html tag
body: <p>I am trying (really hard) to understand what I do in wordpress (I am newbie coding). And I am having a problem just at the start.</p>
  
  <p>ON the header.php I've seen:</p>
  
  <p><a href="https://i.stack.imgur.com/KnxfR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KnxfR.png" alt="enter image description here"></a></p>
  
  <p>But I don't understand why it is better to add it or what it does. I have checked it on wordpress codex and my understanding is now even worse!</p>
  
  <p>Description: Displays the language attributes for the  tag. The possible language attributes are dir (text direction), lang and xml:lang. The choice of lang and xml:lang depends on the $doctype argument.   </p>
  
  <p>So, what does it do? why is it better to use? do I have to set language_attributes function anywhere? Can someone explain it as they were explaining it to a child? </p>
  
  <p>Thank you, it is really stressing me!!</p>