3 ms·
Not sure what you're after exactly but DTDs were introduced with SGML (ISO 8879:1986 [0]) and then used in simplified form with XML (which is specified as a sim
by tannhaeuser 7y ago
Not sure what you're after exactly but DTDs were introduced with SGML (ISO 8879:1986 [0]) and then used in simplified form with XML (which is specified as a simplified profile of SGML [1]).
The (historic) SGML-DTDs for HTML, including those used by W3C's validator and early IETF DTDs for HTML 2.0, can be found at W3C's site eg [2], [3].
[0]: https://www.iso.org/standard/16387.html https://www.iso.org/standard/16387.html
[1]: https://www.w3.org/TR/REC-xml/ https://www.w3.org/TR/REC-xml/
[2]: https://www.w3.org/TR/html4/sgml/dtd.html https://www.w3.org/TR/html4/sgml/dtd.html
[3]: https://www.w3.org/TR/2018/SPSD-html32-20180315/ https://www.w3.org/TR/2018/SPSD-html32-20180315/
- nabla9 7y agoMy question is this: Is there standard SGML-DTD for DTD? I have no access to ISO 8879:1986, so I can't check it.
- tannhaeuser 7y agoNot really. SGML (and XML) are "meta-markup languages", meaning you declare your vocabulary yourself or use a ready-made one. There is in fact a simple general-purpose vocabulary declared in an ISO/IEC 8879:1986 appendix consisting of generic paragraph and heading elements, but it's not widely used in that form.
- nabla9 7y agoThis gets close to my point. Even people working with the standard don't want or don't need to SGML. Similarly for CSS.