3 ms·
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 in
by Hendrikto 10mo ago
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.