title: Javascript - Place some HTML into the document
body: <p>I am a Javascript beginner. </p>
  
  <p>I try to have these two pieces of html placed into the markup. The anchors' IDs are set from tab-1 to tab-6. </p>
  
  <p>This is what I've wrote so far. It doesn't do anything. Anybody got some ideas?</p>
  
  <pre><code>&lt;script&gt;
  
      if (window.location.hash == "#tab-1" || "#tab-2" || "#tab-3" || "#tab-4" || "#tab-5" || "#tab-6") {
      } else { 
        document.write("&lt;div id="tagline"&gt;&lt;p id="quote"&gt;"Play for fun or don't play at all!"&lt;/p&gt; &lt;p id="namer"&gt;- S. Pussehl&lt;/p&gt; &lt;/div&gt;") 
      }
  </code></pre>
  
  <p></p>