title: Adding <br> tag inside a div tag failed
body: <p>I have this HTML code:</p>
  
  <pre><code>&lt;div id="welcomename"&gt;
      &lt;h1&gt;Welcome! What's your name?&lt;/h1&gt;
      &lt;input type="text" class="form" name="name" placeholder="Your name here!" id="name"/&gt;
      &lt;input type="button" onclick="clicked();" value="I'm ready!"/&gt;
  &lt;/div&gt;
  &lt;br&gt;
  </code></pre>
  
  <p>That works absolutely perfectly, but I for reasons, I need that <code>&lt;br&gt;</code> inside the <code>div 'welcomename</code>'. When I do this though, it doesn't work.</p>
  
  <p>Other code:</p>
  
  <pre><code>&lt;div id="hiddenDiv" style="display: none;"&gt;
      &lt;h1 id="welcomehowareyou"&gt;How are you today, ?&lt;/h1&gt;
      &lt;form id="welcomehowareyou2" method="post"&gt;
          &lt;select name="mood" onchange="popup(this.options.selectedIndex)"&gt;
              &lt;option value="" disabled selected&gt;How are you?&lt;/option&gt;
              &lt;option&gt;I'm doing great, thanks!&lt;/option&gt;
              &lt;option&gt;I'm fine, but could be better&lt;/option&gt;
              &lt;option&gt;I feel absolutely terrible today.&lt;/option&gt;
              &lt;!--&lt;input type="submit" value="Done!"/&gt;--&gt;
      &lt;/form&gt;
      &lt;p&gt;&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>