title: Display HTML markup in browser without it being rendered
body: <p>Starting to implement Javascript, I need to do troubleshooting and would like to output HTML to the screen without it being rendered. I can access the element (in IE) by</p>
  
  <pre><code>document.getElementById("test").outerHTML
  </code></pre>
  
  <p>I think, but I can't prove what I'm getting to be sure.</p>
  
  <p>So what do I do to have <em>document.write</em> show the entire element including tags?</p>