title: Is it necessary to write HEAD, BODY and HTML tags?
body: <p>Is it necessary to write <code>&lt;html&gt;</code>, <code>&lt;head&gt;</code> and <code>&lt;body&gt;</code> tags?</p>
  <p>For example, I can make such a page:</p>
  <pre><code>&lt;!DOCTYPE html&gt;
      &lt;meta http-equiv=&quot;Content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
      &lt;title&gt;Page Title&lt;/title&gt;
      &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;css/reset.css&quot;&gt;
      &lt;script src=&quot;js/head_script.js&quot;&gt;&lt;/script&gt;&lt;!-- this script will be in head //--&gt;
  
  
  &lt;div&gt;Some html&lt;/div&gt; &lt;!-- here body starts //--&gt;
  
      &lt;script src=&quot;js/body_script.js&quot;&gt;&lt;/script&gt;
  </code></pre>
  <p>And <a href="https://en.wikipedia.org/wiki/Firebug_%28software%29" rel="noreferrer">Firebug</a> correctly separates head and body:</p>
  <p><img src="https://i.stack.imgur.com/7xVux.png" alt="Enter image description here" /></p>
  <p>The <a href="https://en.wikipedia.org/wiki/W3C_Markup_Validation_Service" rel="noreferrer">W3C validator</a> says it's valid.</p>
  <p>But I rarely see this practice on the web.</p>
  <p>Is there a reason to write these tags?</p>