What is the difference between SGML, HTML and XML? Is XML SGML? Is XML HTML?
SGML, HTML and XML are examples of markup languages used to create, to work with and to display formatted documents. Markups are usually handled through a series of detailed codes enclosed in angle brackets to form tags that surround segments of text. A word processor, browser or other document engine reads the tags and acts on the text within them.
The standard generalized markup language (SGML) arose in the 1980s as a method to markup electronic documents through various tags. This makes SGML one of the first meta-languages for document creation and presentation. The International Organization for Standardization (ISO) made SGML the international standard for describing markup in electronic documents in 1986 through ISO 8879.
Tim Berners-Lee created the World Wide Web in 1989 and also developed a standardized markup language to create and display text-based content that could be served across the Internet. Berners-Lee took the tagging methodology used in SGML and built the hypertext markup language (HTML) and a web browser that interpreted HTML tags in 1990.
The earliest iteration of HTML used 18 tags -- many of which are still in use with the latest versions of HTML; the most recent version of HTML (HTML5) was released in October 2014.
The extensible markup language (XML) was developed and released in 1998 by the World Wide Web Consortium as a standard means of to add markup to documents. Users can create the tags they need and define how those tags are used. XML has grown in popularity for its capabilities to store and transfer data between applications. XML documents essentially play a role as data files for other applications. For example, an application's configuration file is often saved as an XML file rather than a simple text file.
HTML5 has put Flash on notice
Avoid errors when building an XML file by using PowerShell
Develop mobile apps with HTML5
Dig Deeper on Windows Operating System Management
Related Q&A from Stephen J. Bigelow
Administrators in charge of keeping antivirus software up to date have a few options to protect their servers. Learn about the methods and services ... Continue Reading
The Office Insider program can benefit organizations that want as much lead time as possible to see what new features Microsoft plans to release for ... Continue Reading
Microsoft offers Windows Defender Antivirus as its native tool to prevent malware attacks. Discover how it works and what advanced protections it ... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.