title: html convention - self-close tag, > or />, in other way <br> or <br/>
body: <p>When take some tutorial from web, I see many people leaves tags open like <code>&lt;link ..&gt;</code>, <code>&lt;img ..&gt;</code>. But when I use Netbeans to edit them (the HTML/JSP pages), it show a red background on those tags until I add the slash into them.  <code>&lt;br&gt;</code> --> <code>&lt;br/&gt;</code>.</p>
  
  <p>Which is the correct way to write HTML-based code?</p>