SGML and XML
SGML :
- Contains many optional features not needed for Web applications
- Cost/benefit ratio unattractive to current vendors of Web browsers
- DTD is required all the time
XML :
- A simplified subset of SGML for Web applications
- Retain SGML’s extensibility, structure, and validation
- DTD is optionally needed for validation