Basic introduction: What is XML?

Source: Internet
Author: User
Tags date definition html tags version
XML XML is a shorthand for extensible Markup language, an extensible identity language.

This is the definition of the standard. So what is the symbol language, and why is it called extensibility? has been a bit confusing. I think it would be better for us to understand this way:

You are already very familiar with HTML, it is a markup language, remember its full name: "Hypertext Markup Language" Hypertext Markup Language. I see? At the same time, HTML has a lot of tags, like,











And so on, are in the HTML4.0 specification and definition, and XML allows you to create such a label, so called Extensibility. Here are a few confusing notions to remind you that 1.XML is not a markup language. It is just a meta language used to create markup languages (such as HTML). God, it's confusing again!     It doesn't matter, you just have to know this: XML and HTML are different, and it's much more useful than HTML, and we'll look at that later. 2.XML is not an alternative to HTML. XML is not an upgrade of HTML, it is just a supplement to HTML, which extends more functionality for HTML. We will continue to use HTML for a long time. (But it's worth noting that the upgraded version of HTML is actually moving toward adapting XML.) 3. You cannot write pages directly with XML.     Even if you include XML data, you can still convert it to HTML format to be displayed on the browser. The following is an XML sample document (example 1) that represents the information for this article:
     
     
      
      <?xml version= "1.0"?> <myfile> <title>xml Quick start</title> <author>ajie</author > <email>ajie@aolhoo.com</email> <date>20010115</date> </myfile>
     
     


Attention:

1. This code is just code, let you preliminary perceptual knowledge of XML, and can not achieve what specific applications;

2. A similar title,author of the statement is their own creation of tags (tags), they and HTML tags are not the same, such as the title here is the meaning of the article, HTML in the title is the title of the page.

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.