3 ms·
Allowing the void tags to be unclosed is the lesser evil of the two, I can even accept the argument behind it (they can't have content) even though it complicat
by alkonaut 13y ago
Allowing the void tags to be unclosed is the lesser evil of the two, I can even accept the argument behind it (they can't have content) even though it complicates the syntax.
The really evil one is to not make <div /> be exactly equivalent to <div></div> which is just batshit crazy. When I want a placeholder tag (to be populated later) I have to write <div></div> which feels completely unnatural,
- talmand 13y agoSeems simple to me, a container element should always have opening and closing tags. An element that will never contain anything is self-closing. But I admit, I suppose it could only be simple to me.