2 ms·
> The design of the first version of HTML language was influenced by the SGML universal markup language. HTML was designed as an application of SGML. Just like
by nabla9 7y ago
> The design of the first version of HTML language was influenced by the SGML universal markup language.
HTML was designed as an application of SGML. Just like JSON-RPC is application of JSON. HTML has DTD (SGML Document Type Definition). HTML was technically SGML application until HTML5.
SGML comes from Latin and means "complex solution to simple problem."
- tannhaeuser 7y agoSGML isn't that complex. If you know the XML subset of SGML, there are only a few additional concepts to learn (mostly markup minimization which is designed to greatly simplify the directly authored form of a text document such that you can write markdown-like syntax, with the canonical/internal form being exactly the same as an XML parser would see it). I'll give you that the official ISO standard spec sucks to the point of being incomprehensible; but then most markup-related specs, including the HTML 5 spec, do. This is what Eliot Kimber (or was it another HyTime editor?) has to say about it (on an admittedly not so well-known topic even by markup standards): > Why can't people understand the SGML Extended Facilities as written and as standardized by the ISO? > ISO standards are very hard to understand because they describe very technical things in an abstruse techno-legal vocabulary and reduced-redundancy style. In short, despite having great things to say, even the deathless prose of the HyTime standard tends to be unreadable and, quite frankly, to suck as informative literature. (I'm a co-editor of it; may God have mercy on us.)
- nabla9 7y ago> SGML isn't that complex. It's unnecessarily complex. The complexity and the features it has have no purpose once you step away and look at the big picture. People don't want to use it. It's easier to write your own dataformat than use and learn SGML. XML was a move away. HTML5 was move away. Heck, just microXML is enough https://blog.jclark.com/2010/12/more-on-microxml.html https://blog.jclark.com/2010/12/more-on-microxml.html Starting from scratch something like s-expressions or JSON would have been better starting point than SGML/XML/HTML.
- gsnedders 7y ago> HTML was designed as an application of SGML. No, it wasn't. It may have gone from being influenced by SGML to being defined as an application of SGML by the time of the first spec, but TimBL didn't actually originally use SGML for it due to implementation complexity of SGML.
- tannhaeuser 7y agoTBL might not have used SGML tools, but surely wanted to make HTML extend to SGML proper and appeals to SGML concepts at several places in the linked document: > Currently HTML documents are transmitted without the normal SGML framing tags, but if these are included parsers will ignore them. > In SGML terms, paragraph elements are transmitted in minimised form > These tags are kept as defined in the CERN SGML guide. Their definition is completely historical, deriving from the AAP tag set. > (not good SGML)