Home >Web Front-end >HTML Tutorial >What are the differences between xml and html
Difference: 1. XML is used to transmit and store data, focusing on the data; HTML is used to display data and focus on the appearance of the data. 2. XML is case-sensitive; HTML is not case-sensitive. 3. XML mandates the use of closing tags; HTML does not mandate the use of closing tags. 4. XML retains spaces; HTML does not retain spaces.
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
What is xml?
xml is an extensible markup language used to describe data and store it in a form that can be easily retrieved and shared.
Characteristics of xml:
1. XML (Extensible Markup Language) is a markup language.
2. XML is designed to store and transmit data.
3. XML was created to provide self-describing data that is easy to use and store.
4. XML is not a substitute for HTML.
5. XML aims to achieve self-description.
6. XML is designed to transmit data, not display data.
7. XML tags are not predefined, so we must define our own tags before they can be used.
8. XML is platform independent and language independent.
The main advantages of xml:
You can use xml to get data from programs such as Microsoft SQL, convert it to XML, and then share this XML with other programs and platforms . We can communicate between two platforms that are often very difficult.
The difference between xml and html:
Programming Video! !
The above is the detailed content of What are the differences between xml and html. For more information, please follow other related articles on the PHP Chinese website!