title: What is the 'lang' attribute of the <html> tag used for?
body: <p>In HTML, it's good to have a <code>lang</code> attribute in <code>&lt;html&gt;</code>, e.g. <code>&lt;html lang="en"&gt;</code>.</p>
  
  <p>How is this useful?</p>
  
  <p>If this is used for translation, even if the language is set to English and there are all Chinese text in the document <em>Google Translate</em> detects it as Chinese, not English <em>(this means Google ignores the <code>lang</code> attribute)</em>.</p>