XML Is a Markup Language

As its name suggests, XML is a markup language. Markup is used to convey some information about text or other data. XML has similarities to other markup languages.

Markup may be used to indicate how text is to be presented. In a word-processing program, for example, hidden codes communicate to the word-processor software various settings that are applied to a document but that are not visible. Typically, the codes used in word-processing programs are not easy for a typical user to read or decipher.

The Hypertext Markup Language (HTML) uses angled brackets and tags to convey something about the structure of a document to be presented on the World Wide Web. An h1 tag, for example, indicates a top-level heading. HTML markup ...

Get Sams Teach Yourself XML in 10 Minutes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.