What is the difference between xhtml and html? Shuai breaks the Guinness Book

Source: Internet
Author: User
What is the difference between xhtml and html-Shuai breaks the Guinness eXtensible HyperText Markup Language XHTML (eXtensible HyperText Markup Language) and is the first revision of HTML 4.01, it is composed of three types of HTML 4 files reorganized according to the XML1.0 standard. That is to say, XHTML is a mixture of HTML 4.01 and XML1.0.

Because XHTML1.0 is based on HTML4.01 and does not introduce any new tags or attributes (XHTML can be considered as a subset of HTML), it is similar to HTML, the syntax is more rigorous. Almost all Web browsers are compatible with XHTML while parsing HTML correctly.

For example, all tags in XHTML must be in lowercase, all tags must be closed, and each attribute must be enclosed by quotation marks.
To write
, Cannot be written
(Same as hr); used

There must be one

To end the paragraph.

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.