The difference between XML and HTML

Source: Internet
Author: User

Recent exposure to XML is relatively frequent, but for the theoretical knowledge is indeed very poor, so, there is time to organize, hope for future work can be helpful.

XML is designed to transfer data and store data.

HTML is designed to display data.

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 it

XML tags are not predefined. You need to define your own labels

XML is designed to be self-descriptive

XML is the recommended standard for the consortium

The difference between XML and HTML:

XML is not an alternative to HTML

XML and HTML are designed for different purposes:

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

HTML is designed to display data with the focus on the appearance of the data.

HTML is designed to display information, while XML is designed to transmit information.

  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.