XML will not allow for leaving tags open, so it makes somewhat worse than the other two. Another two are roughly equivalent with the 2nd () most popular for compatibility with more mature browsers. HTML is very lenient During this regard, and there is no these rule. So in HTML empty nodes like etc are prepared without the closing ahead slash.