XML won't let leaving tags open up, so it can make a bit worse than the opposite two. Another two are around equal with the second () favored for compatibility with more mature browsers. HTML is quite lenient With this regard, and there's no this sort of rule. So in HTML empty nodes like etcetera are composed without the closing ahead slash.