Are HTML and SGML compatible?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Are HTML and SGML compatible?

Gloria McMillan
The computer wiz at my college also thinks it would be most
helpful to her to find out just how compatible HTML and SGML are.

Can anyone out there tell me/her?

Thanks,  Gloria

-----
Gloria McMillan                 Adjunct Faculty, Pima Community College
EMail: [hidden email]  Writing Department

Reply | Threaded
Open this post in threaded view
|

Re: Are HTML and SGML compatible?

Stefan Heymer
Dear Gloria,

HTML is just an application of SGML, i.e. a so called "Document Type
Definition", short DTD. So HTML document instants can be parsed by
almost any SGML validator (eg. SGMLS or YASP, the last of which I
haven't had the opportunity to try). Most HTML viewers (as NCSA Mosaic
and Chimera) aren't real SGML systems, so they'll happily ignore all
tags of SGML that they don't know.

Hope I've been helpful

        Stefan Heymer

-------------------------------------------------------------------------------
Stefan Heymer                               [hidden email]
University of Hildesheim
Germany