XML Tutorial
XML stands for Extensible Markup Language (eXtensible Markup Language)。
XML is designed to transport and store data, not to present or display data, while HTML is used to present data.
XML is important and easy to learn.
XML Examples
The first line of an XML document starts with an XML declaration, which is used to describe some information about the document, such as:
<?xml version="1.0" encoding="UTF-8"?>
XML defines structure, stores information, and transmits information.
XML Document Examples
<name>、<url>、<logo>、<desc>These are tags, and the tags contain the information to be transmitted.
Tags must appear in pairs. If there is a start tag, there must be an end tag, for example:
- Start tag:<name>
- End tag:</name>
XML Examples
Learn by examples! With our editor, you can edit XML code, then click the test button to view the result.
XML Online Formatter
ViaXML Online FormatterYou can compress and format XML code online:
Other extensions