XML and HTML are very similar in many ways, which can be a problem for our learning. In order to be more clear, the two are compared.
First, the concept
xml-Extensible Markup Language , used to mark electronic files with a structured markup language that can be used to tag data, define data types, is a source language that allows users to define their own markup language. Extensible Markup Language is a subset of the standard common markup language and is ideal for Web transport. Extensible Markup Language provides a unified approach to describing and exchanging structured data that is independent of the application or vendor. XML is a cross-platform, software-independent, hardware-based tool for processing information.
The html-Hypertext Markup Language is a markup language designed for "Web page creation and other information that can be seen in Web browsers."
Second, the difference
XML and HTML are very similar in many ways, but there are many differences, compared
There is a big difference between extensibility and emphasis, XML is a free Extensible Markup language, and HTML markup is pre-defined and not extensible; The core of XML design is to contain and transmit data, and the core of HTML design is to display the data.
Third, contact
XML is a supplement to HTML, XML appears later than HTML, but XML is not a substitute for HTML. We must have a deep understanding that in future web development, XML will be used to describe and store data, while HTML is used to format and display the data. The two are co-existent, rather than a mutually replaceable relationship. XML and HTML will be equally valued, and they are the foundation of web technology.
XML and HTML