What are the differences among SGML, HTML and XML?

What is the difference between SGML, HTML and XML? Is XML SGML? Is XML HTML?

SGML, HTML, and XML, are all related more than just ending with the letter "L." SGML (Standard Generalized Markup Language) is the granddaddy of all the other standards and the others are all subsets. HTML (Hyper Text Markup Language) is the basic lingua franca of the Web and describes positioning and formatting for elements on a web page. XML (eXtensible Markup Language) is a standard data format for structured documents and is used as a manner to transfer data. XHTML is the union of HTML and XML as HTML was a little too loose and XHTML tightens up the formatting so that you can parse web pages with standard XML parsers. You can learn more about the differences and uses by visiting the World Wide Web Consortium.

This was first published in May 2002

Dig Deeper on Windows Operating System Management



Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.



Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:









  • VDI assessment guide

    Wait! Don't implement VDI technology until you know your goals and needs. A VDI assessment should consider the benefits of a VDI ...

  • Guide to calculating ROI from VDI

    Calculating ROI from VDI requires a solid VDI cost analysis. Consider ROI calculation models, storage costs and more to determine...

  • Keep the cost of VDI storage under control

    Layering, persona management tools and flash arrays help keep virtual desktop users happy and VDI storage costs down.