title: When are <br> elements ignored when within a paragraph?
body: <p>I have found out that sometimes, <code>&lt;br&gt;</code> elements are not rendered in the browsers I use (Firefox and Chrome).</p>
  
  <pre><code>&lt;p&gt;Hello&lt;br&gt;&lt;/p&gt;
  &lt;p&gt;Hello&lt;br&gt;&lt;/p&gt;
  </code></pre>
  
  <p>will be rendered the same as : </p>
  
  <pre><code>&lt;p&gt;Hello&lt;/p&gt;
  &lt;p&gt;Hello&lt;/p&gt;
  </code></pre>
  
  <p>In the same way, </p>
  
  <pre><code>&lt;p&gt;Hello &lt;a href="https://ddg.gg"&gt;ddg&lt;br&gt;&lt;/a&gt;&lt;/p&gt;
  &lt;p&gt;Hello&lt;/p&gt;
  </code></pre>
  
  <p>and : </p>
  
  <pre><code>&lt;p&gt;Hello &lt;a href="https://ddg.gg"&gt;ddg&lt;/a&gt;&lt;/p&gt;
  &lt;p&gt;Hello&lt;/p&gt;
  </code></pre>
  
  <p>will also be rendered without any linebreaks when opened in the browser.</p>
  
  <p>I couldn't find the section in the HTML spec that specifies this behavior, do you know where to find the spec for this or could you phrase this behavior in a simple way ?</p>
  
  <p>I would also be interested in reasons for having this behavior if you know them.</p>
  
  <p><strong>EDIT</strong> : I know it is quite "incorrect" to place br elements at this position in the HTML, I'm not the one who generates this HTML, but I need to convert this HTML to another format so I'm interested in understanding how browsers handle this case.</p>