News for hackers. Stuff that matters.
Re:Don’t Make Me Write HTML by donalm on Wednesday April 15, 2009 @06:23AM (#563248)
The main reason that SGML allowed closing tags to be optional was that it was 80s technology and storage was expensive.

To omit tags you needed a DTD that allowed the parser to infer where the close tags should go.

Enforcing the use of close tags in XML meant that building a parser was much simpler and that you no longer had to supply a DTD which I think were probably very instrumental in XML's success.

There are no comments on this comment yet.