title: How do you add an attribute to the html tag in SharePoint masterpages?
body: <p>I want to turn the following tag produced in SharePoint 2013 master pages:</p>
  
  <pre><code>&lt;html dir="ltr" lang="en-US"&gt;
  </code></pre>
  
  <p>into the following:</p>
  
  <pre><code>&lt;html dir="ltr" lang="en-US" **xml:lang=”en”**&gt;
  </code></pre>
  
  <p>It is controlled by the following:</p>
  
  <pre><code>&lt;SharePoint:SPHtmlTag dir="&lt;%$Resources:wss,multipages_direction_dir_value%&gt;" 
                        ID="SPHtmlTag"
                        runat="server" &gt;
  </code></pre>