Is it possible to reuse HTML like a template on multiple pages?
<p>I have several pages on a website that use the same header for each page. I was wondering if there was some way to simply reference a file with the html for the header sort of like in this pseudo code:</p>

<pre><code>&lt;!-- Main Page --&gt;

&lt;body&gt;
  &lt;html_import_element src = "myheadertemplate.html"&gt;
&lt;body&gt;
</code></pre>

<p>Then in a separate file:</p>

<pre><code>&lt;!-- my header template html --&gt;

&lt;div&gt;
  &lt;h1&gt;This is my header&lt;/h1&gt;
  &lt;div id = "navbar"&gt;
    &lt;div class = "Tab"&gt;Home&lt;/div&gt;
    &lt;div class = "Tab"&gt;Contact&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>This way I could write the header html once and just import it in each of my pages where I need it by writing one simple tag. Is this possible? Can I do this with XML?</p>