3 ms·
XML-flavored self-closing elements are banished (use <br> instead of <br />) God I hate that. It just doesn’t make sense. Where is the <br> closed?
by WirelessGigabit 4y ago
XML-flavored self-closing elements are banished (use <br> instead of <br />)
God I hate that. It just doesn’t make sense. Where is the <br> closed?
- alexaholic 4y agobr is an empty tag and empty tags are self-closing
- WirelessGigabit 4y agoDoesn’t make sense. What’s wrong with <br />? It’s a hell of a lot easier to parse than having an exception for <br> which is then transformed in <br></br>.