Module: M2-R5: Web Design & Publishing
Chapter: Ch1 Computer Intro
SGML (Standard Generalized Markup Language) is a standard for defining generalized markup languages for documents. It was developed by ISO (International Organization for Standardization) in 1986 and forms the foundation for HTML and XML.
SGML itself is not a programming language; rather, it is a meta-language used to define other markup languages such as HTML and XML.
An SGML document generally consists of three main parts:
<!DOCTYPE document SYSTEM "doc.dtd">
<document>
<title>Example SGML Document</title>
<body>
<para>This is a paragraph inside an SGML document.</para>
</body>
</document>
Both HTML and XML follow SGML’s basic tagging principles but are easier to use for specific applications.