title: Can HTML contain two HEAD tags
body: <p>In my web application I got Header.jsp file which contains default header contents. Im including it in all other pages using jsp:include tag inside body tag of each individual pages.</p>
  
  <p>Header.jsp contains its own HEAD tag to specify default meta tags, link stylesheets, scripts and some HTML elements. At the same time I will have another set of HEAD tag in all other individual pages to define title, page specific script and stylesheets.</p>
  
  <p>For example:</p>
  
  <p><strong>Header.jsp</strong></p>
  
  <pre><code>&lt;head&gt;
     &lt;link rel="shortcut icon" href="&lt;%=request.getContextPath()%&gt;/images/favicon.ico" type="image/x-icon" /&gt;
     &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"/&gt;
     &lt;script src="js/jquery.js"&gt;&lt;/script&gt;
     &lt;link rel=stylesheet type="text/css" href="dashboard.css" &gt;
  &lt;/head&gt;
  &lt;h2&gt;Dashboard&lt;/h2&gt;
  </code></pre>
  
  <p><strong>Main.jsp</strong></p>
  
  <pre><code>&lt;!DOCTYPE html&gt; 
  &lt;html&gt;
     &lt;head&gt;
        &lt;title&gt;Main page&lt;/title&gt;
        &lt;script src="main.js"&gt;&lt;/script&gt;
     &lt;/head&gt;
     &lt;body&gt;
        &lt;jsp:include page="Header.jsp" flush="true" /&gt;
        .....
        other HTML contents specific to main page
        .....
     &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>whether it is valid to do like this?</p>