Hacker News new | ask | show | jobs
by grrowl 4058 days ago
The ever-tolerant HTML browser will automatically fix it up. The irony is in that this XHTML syntax has bled back into some code styles in HTML, however inaccurate in that language, but since the introduction of JSX and React, the self-closing tag is required again (all tags must close, or self-close, to be able to parse the file at all)
1 comments

..Which is ironic since xhtml was supposed to be strict enough that browsers could stop being so tolerant.
and in true contemporary web development style, we threw it all away and wrote a javascript pre-processor for it instead.