What are the Html-xhtml-xml, respectively?

Source: Internet
Author: User

HTML: Hypertext Markup Language;

XHTML: Extensible Hypertext Markup Language;

XML: Extensible Markup Language,

Everyone has puzzled place can refer to the following article.

Development trend:

HTML (Hyper-text Markup Language)--xhtml (Extensible Hypertext Markup Language)--xml (extensible Markup Language);

Html:

1. Not sensitive to case;

2. The label does not need to appear in pairs;

3.<br>;

Xhtml:

1. Sensitive to case, must be lowercase;

2. The label must appear in pairs, and there must be an end tag on the start tag;

3. Attribute value must be within quotation marks;

4. Attribute minimization is not supported:

Eg: correct: <input checked= ' checked ' >

Error: <input checked>

5.name attribute is not in favor of use, will be eliminated later;

6. Empty elements also want to end tags: such as:<br/>,
Xml:

HTML will eventually evolve to xml,xhtml is a transition from HTML to XML development, and XHTML features are also suitable for XML;

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.