3 ms·
SGML allowed you to minimize a closing tag. And HTML supported this in theory, although mainstream browsers never supported it. XML went for a syntax with fewe
by bazoom42 4y ago
SGML allowed you to minimize a closing tag. And HTML supported this in theory, although mainstream browsers never supported it.
XML went for a syntax with fewer options because the complexity of SGML was considered a hinderance to its adoption.
- ElectricalUnion 4y agoSGML is also the reason why a HTML parser is often much more complex that a xml parser, even thought modern html is no longer SGML and instead a simplified version of it.