Comment by Hendrikto

Comment by Hendrikto 9 hours ago

0 replies

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.