The difference between HTML5 and XHTML

Source: Internet
Author: User

Now that I've been asked about the difference between HTML5 and XHTML, I'm here to share some of my personal understanding, and I think from their sources, they have an interesting story to hide.

First recognize three organizations, IETF (Internet Engineering Task Force) Internet Engineering Task Group,World Wide web Consortium www Alliance,Web the most authoritative and influential international neutral technical standards body in the field,WHATWG(Web hypertet Application Technology working Group ) Hypertext Application Team, made up of browser vendors. There is also an important person, the father of Tim Berners Lee Web .

1991 Tim Berners Lee this man wrote an HTML document. In the November 1995 IETF published HTML2.0.1994, Tim Berners Lee established the organization of Web standards, Subsequently, HTML3.2 and html4.0,html4.01 were published. Then the world of the world's HTML introduced XML into XHTML. The style of the company's work behind closed doors has caused dissatisfaction among major browser makers. So the major browser manufacturers together set up the WHATWG organization, on the basis of HTML to expand, committed to research and development HTML5.W3C continue to develop XHTML, but to the dilemma. So Tim Berners Lee decided to use HTML5, while continuing to develop XHTML, know 2009, the announcement of the end of the XHTML2.0 research and development, began to wholeheartedly research HTML5.HTML5 is the result of the and WHATWG game. Know this story time, feel a little meaning, is the so-called alone learning and no friend is ignorant, really is very. Lesson it.

Let's talk about the grammatical differences between HTML5 and XHTML.

1. XHTML requires proper nesting

2. All XHTML elements must be closed

3. XHTML is case-sensitive

4. XHTML attribute values are enclosed in double quotes

5. XHTML replaces the name attribute with the id attribute
6. Processing of XHTML special characters

The difference between HTML5 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.