In HTML5, do we still need the end slash like in XHTML?
<img src="some_image.png" />
validator.w3.org didn't complain if I dropped it, not even a warning. But some online documents seem to indicate the end slash is still required for tags such as img, link, meta, br, etc.
` results in the src attribute having the value `http://www.example.com/logo.svg/` — which makes the URL wrong."
– Gagik
Dec 09 '22 at 08:41