The main difference with the HTML .XML

1. What is XML?

XML refers to extensible markup language (EXtensible Markup Language)
XML is a markup language, much like HTML
XML is designed to transmit data rather than display data
XML tags are not predefined. You need to define your own labels.
XML is designed to be self-descriptive.
XML is a W3C Recommendation


The main difference between HTML-2.XML

XML is not a replacement for HTML.

XML and HTML designed for different purposes:

XML is designed to transmit and store data, which is the focus of the content data.

HTML was designed to display data, which is the focus of appearance data.

HTML is about displaying information, while XML is designed to transmit information.

Guess you like

Origin www.cnblogs.com/smile6542/p/11845043.html