The difference between HTML and XHTML

Source: Internet
Author: User

The improvement of XHTML1.0 to HTML4.0

(1) The syntax is more rigorous, drawing on the wording of XML

(2) separate the content and style of the page: discard the tags and attributes of the presentation style in HTML4, and recommend using CSS to describe the style of the page

Strict edition (Strict): (1) Disable style-related tags and attributes using strict XML syntax (2)

Transition version (Transitional): (1) Use strict XML syntax (2) to allow deprecated style-related tags and attributes

HTML4.0 in order to enrich the display, the design of a lot of tags and properties of the page "content" and "performance" mixed together: resulting in a messy page content, not easy to understand and modify.

The difference between HTML and XHTML

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.