Hacker News new | ask | show | jobs
by EugeneOZ 1468 days ago
XML is beautiful and clean, and I prefer to write full closing tags.
2 comments

It’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.

No, tbody is just an element. The power is in tags.
Of course, of course; but here they are talking about HTML (i.e., about HTML5), not about XML.
I'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.
HTML has a dialect in XML called XHTML. It is obscure but actually works. My website is a living example.