XML and HTML

Source: Internet
Author: User

about XML and HTML learning, the data are very few, feel that they have not understood absorption, in front of learning HTML , it touches some of its tags and attributes, and only knows that it is using different elements and attributes to display the data information, and here comes an XML, all messy. Their approximate structure:

1. HTML Structure:


2. XML Structure:


later found that they also have links, so put together to study. The first thing to be clear is that XML is not used to replace HTML , they are designed for different purposes,the core ofHTML design is to display Web page data, XML is to include and transfer Web page data information.


HTMLbecause the structure and format of the Web page areHTMLelements to complete, the main learning element structure and form. XMLlearning, is through the elements to contain and transfer the data of the Web page, and in order to ensure the correct exchange of data, must have a certain rules, so that the program has regular read, it isDTD, whileDTDitself is notXMLfile, the user cannot customize the data type, all with its successorSchematechnology, which is based onXMLwritten, extensible, supports data types, protects communication, overcomesDTDdefects. XHTML is also present here, which is intended to accommodate XML-normalized HTML, and is very superficial. Believe that these basic learning will be gradually infiltrated in the application of the later. Accumulate in!

XML and HTML

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.