0

Apologies if this has already been answered, I can't seem to find an answer on here. My question is, is there a difference between <img src = ""> and <img src = ""/>.
I have seen both used before, however I normally use <img src = "">. If there is a difference what is it, as it does not seem to affect the output. Likewise with <br> and <br/>.
Example

Toby Cannon
  • 725
  • 6
  • 16
  • Duplicate of http://stackoverflow.com/questions/7366344/do-we-still-need-end-slashes-in-html5 – Matt Solarz Jun 23 '15 at 16:31
  • Toby, you didn't do any research..it's a [void element](http://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements). – Rick S Jun 23 '15 at 16:32

0 Answers0