title: How to add a HTML element before a certain HTML element with javascript?
body: <p>I am trying to add an HTML marquee element before the body element. I want to achieve this with javascript. I have searched all over for a way to do this but no success. Please help me.</p>
  
  <p>One way I thought of doing it was </p>
  
  <pre><code>document.insertBefore('&lt;marquee&gt;', '&lt;body&gt;')
  </code></pre>
  
  <p>This gives me the error of </p>
  
  <pre><code>VM888:1 Uncaught TypeError: Failed to execute 'insertBefore' on 'Node': parameter 1 is not of type 'Node'.
  </code></pre>
  
  <p>Please help. Thank You!</p>