title: HTML / PHP: Which parts of an HTML head can be saved in a separate file
body: <p>I am new to HTML and hope someone can help me with this. </p>
  
  <p>I am trying to set up a website where the code for every page is saved as a separate php file. 
  Since all these pages use the same <strong>document head</strong> and includes <strong>I would like to remove as much as possible of this from the pages and save it in a separate includes file</strong> (<code>header.php</code>) which I can then include using PHP. </p>
  
  <p>My current head looks as follows and since this is the same on all pages I currently have ALL this saved in the separate header.php file and then just use <code>&lt;?php include "header.php"; ?&gt;</code> on the single pages. </p>
  
  <p>Can someone tell me which parts of this should remain on the single pages for a proper setup and if anything should be changed or added here ?</p>
  
  <p><strong>Note:</strong> jQuery and JS are included separately in the footer.</p>
  
  <p><strong>My PHP (header file):</strong> </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
      &lt;head&gt;
          &lt;meta charset="utf-8" /&gt;
          &lt;meta http-equiv="X-UA-Compatible" content="IE=edge" /&gt;
          &lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&gt;
          &lt;meta name="author" content="John Doe" /&gt;
          &lt;meta name="description" content="Created: 2015-06" /&gt;
  
          &lt;base href="http://www.MyURL.com" target="_self" /&gt;
  
          &lt;!-- CSS --&gt;        
          &lt;link rel="stylesheet" type="text/css" href="includes/styles.css" /&gt;
          &lt;!-- CSS - Font Awesome --&gt;
          &lt;link rel="stylesheet" type="text/css" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" /&gt;
  
          &lt;title&gt;My Page&lt;/title&gt;
      &lt;/head&gt;
  
      &lt;body&gt;
          &lt;div class="wrapper"&gt;
          &lt;!-- ... --&gt;
  </code></pre>