Remix.run Logo
▲ jdiff 2 hours ago

XML can handle implicitly closed tags, they call them "empty" in the spec here:

https://www.w3.org/TR/xml/#sec-starttags

▲plorkyeran 39 minutes ago | parent | next [-]

Empty tags in XML are not implicitly closed. They require the explicit /.

▲conartist6 40 minutes ago | parent | prev [-]

XML can handle <img /> but not <img> followed by tagsoup (like HTML handles).