logoalt Hacker News

Hendriktoyesterday at 4:41 PM0 repliesview on HN

Self-closing tags do nothing in HTML though. They are ignored. And in some cases, adding them obfuscates how browser’s will actually interpret the markup, or introduce subtle differences between HTML and JSX, for example.