title: Space Before Closing Slash?
body: <p>I've frequently seen a space preceding the closing slash in XML and HTML tags. The XHTML line break is probably the canonical example:</p>
  
  <pre><code>&lt;br /&gt;
  </code></pre>
  
  <p>instead of:</p>
  
  <pre><code>&lt;br/&gt;
  </code></pre>
  
  <p>The space seems superfluous. In fact, I think that it is superfluous.</p>
  
  <p><strong>What is the reason for writing this space?</strong></p>
  
  <p>I've read that the space solves some "backwards compatibility issues." Which backwards compatibility issues? Are those issues still relevant, or are we still adding extra spaces for the sake of, say, IE3 compatibility? Does there exist some spec with the definitive answer on this?</p>
  
  <p>If not backwards compatibility, then is it a readability issue? Similar to the Great Open Curly Brace debate?</p>
  
  <pre><code>void it_goes_up_here() {
  
  int no_you_fool_it_goes_down_there()
  {
  </code></pre>
  
  <p>I can certainly respect differing stylistic opinions, so I'll be happy to learn that writing the space is simply a matter of taste.</p>