title: How can I reuse a navigation bar on multiple pages?
body: <p>I just finished making my home/index.html page. To keep the nav bar where it is, and have it stay while users click through all my pages. Do I have to copy and paste the nav code to the top of each page? Or is there another way to do so that would look cleaner?</p>
  
  <p>HMTL nav:</p>
  
  <pre><code>&lt;nav&gt;
      &lt;div&gt;
          &lt;a href="/"&gt;
              &lt;div id="logo"&gt;&lt;img src="image.png" alt="Home"/&gt;&lt;/div&gt;
              &lt;div id="headtag"&gt;&lt;img src="image.png" alt="Home"/&gt;&lt;/div&gt;
              &lt;div id="tagline"&gt;&lt;img src="image.png" alt="Home"/&gt;&lt;/div&gt;
          &lt;/a&gt;
      &lt;/div&gt;
      &lt;div&gt; 
          &lt;a href="/" class="here"&gt;Home&lt;/a&gt;
          &lt;a href="/about.html" &gt;About&lt;/a&gt;      
          &lt;a href="/services.html" &gt;Services&lt;/a&gt;          
          &lt;a href="/pricing.html" &gt;Pricing&lt;/a&gt;    
          &lt;a href="/contact.html" &gt;Contact Us&lt;/a&gt;
          &lt;input id="srchbar" type="search" placeholder="Search"&gt;
      &lt;/div&gt;
  &lt;/nav&gt;
  </code></pre>