Web Development
Web Development
Use Case:
•Typically used for documents in industries like
aerospace and defense, where complex document
structures are required.
HTML (HyperText Markup
Language)
•What is HTML?
• HTML is a markup language used for
creating web pages.
• It is a subset of SGML, designed
specifically for the structure of web
content.
•Key Characteristics:
•Used for structuring text, images, and
multimedia on web pages.
•Limited in scope compared to SGML (focuses on
presentation).
•Not designed for complex or flexible document
structures like SGML.
•Example:
•<html>
<head><title>My Page</title></head>
<body>
<h1>Welcome to My Website</h1>
<p>This is a paragraph of text.</p>
</body>
</html>
XML (Extensible Markup
Language)
•What is XML?
• XML is a simplified, flexible, and
extensible version of SGML.
• XML focuses on data representation and
storage, making it readable by both
humans and machines.
•Key Characteristics:
• Self-descriptive: Tags describe the data.
• Extensible: Users can define their own tags.
• Designed to be simple, flexible, and universal.
• Example: Used in RSS feeds, SOAP
messages, and configuration files.
<book>
<title>XML for Beginners</title>
<author>John Doe</author>
<price>29.99</price>
</book>
SGML vs. HTML vs. XML – Key
Differences
Feature SGML HTML XML