title: Creating a <br /> with javascript createElement?
body: <p>I need to create a <code>&lt;br /&gt;</code> tag dynamically with javascript.</p>
  
  <pre><code>var br = document.createElement('br');
  </code></pre>
  
  <p>And</p>
  
  <pre><code>var br = document.createElement('&lt;br /&gt;');
  </code></pre>
  
  <p>doesn't work</p>
  
  <p>The first option urrently creates a <code>&lt;br&gt;</code> tag on the page which doesn't pass XHTML standards, is there anyway around this? </p>