Skip to main content
Generic filters
Search in title
Search in content
Search in excerpt

XML and HTML – Similar but Different


XML (Extensible Markup Language) and HTML (HyperText Markup Language) share several similarities because they both stem from SGML (Standard Generalized Markup Language), a standardized system for organizing and tagging elements of a document.

Let’s take a look at XML and HTML and discuss some key aspects here.

Starting with similarities, they both use tags to encase data. This means that both languages utilize opening and closing tags to surround and denote content components.  

For instance, in HTML, you would use <p> to start a paragraph and </p> to end it. XML uses a similar system, where <tag> starts a section and </tag> ends it. Additionally, both languages support attributes within these tags, which provide additional information about the elements.  

Full content is available for Members with MVP subscriptions.
Login Join Now

XML and HTML – 3 mins

YouTube player