4 ms·
XML is beautiful and clean, and I prefer to write full closing tags.
by EugeneOZ 4y ago
XML is beautiful and clean, and I prefer to write full closing tags.
- enriquto 4y agoOf course, of course; but here they are talking about HTML (i.e., about HTML5), not about XML.
- nayuki 4y agoHTML has a dialect in XML called XHTML. It is obscure but actually works. My website is a living example.
- tannhaeuser 4y agoI've given up to try and educate XML heads that XML is just a proper subset of SGML, just as HTML is originally, and mostly still, an SGML vocabulary. Idk what people are talking about in this thread (seems to be about each one's personal preferences and wildly speculative assumptions about backtracking when in reality both SGML and WHATWG are deterministic); while there is exactly one reference to WHATWG at this time.
- anjbe 4y agoIt’s funny how people’s aesthetic sensibilities can differ. Making use of HTML’s standard features to drop unnecessary elements and closing tags is very much in line with my own idea of “beautiful” and “clean.” Do you consider any table that doesn’t explicitly declare <tbody> “unclean”? That’s an implicit element in every <table>, according to the spec.
- EugeneOZ 4y agoNo, tbody is just an element. The power is in tags.