HTML5 structure and semantics (1): Preface _ html5 tutorial skills-
Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
Hypertext Markup Language (HTML) 5 introduces new elements to HTML for the first time. The new structure elements include aside, figure, and section. New inline elements include time, meter, and SS. New embedded elements include video and audio. New interaction elements include details, datagrid, and command. HTML 5 introduces new elements to HTML for the first time. The new structure elements include aside, figure, and section. New inline elements include time, meter, and SS. New embedded elements include video and audio. New interaction elements include details, datagrid, and command.
Recently, it has been revived. Three major browser vendors-Apple, Opera, and Mozilla Foundation-have established the Web Hypertext Application Technology Working Group (WhatWG) to develop new versions of traditional HTML. Recently, W3C also noticed these activities and launched its own new generation HTML project. Many members of both parties are the same. These two projects may eventually be merged. Although many details are still under discussion, the general outline of the next version of HTML is clear.
Since 1999, Web developers have been expecting a new version of HTML (commonly known as HTML 5, but also known as Web Applications 1.0). Now it has finally been released. It maintains the original characteristics of HTML: No namespace or mode. The element does not have to end. The browser treats errors with tolerance. P is still p, and table is still table.
If you freeze a Web developer in 1999 and then unfreeze it, then he will encounter some new confusing elements. Yes, the elements he is familiar with (such as p) are retained. However, HTML still contains new elements such as section, header, footer, and nav. Em, code, and strong still exist, but meter, time, and m are added. Img and embed are still available, but video and audio are also added. However, after careful observation, he will find that these elements are actually no different. Many of these elements may not be available to developers in 1999. By making a simple analogy with the elements he has mastered, these new elements are easy to understand. In fact, they are much easier to grasp than Ajax or CSS.
Finally, when he opens a 300 MHz notebook (running Windows 98 and frozen in 1999), he may®Internet Explorer®5. The effect of the new page is surprising. Of course, these old-fashioned Browsers Do not know new elements and will ignore them completely, but the page will still display and the content will still be complete.
This is not a fictitious story. The design principle of HTML 5 is that it can be smoothly degraded in browsers that do not support it. The reason is simple: we are all such "primitive people ". The browser now has tabs, CSS, and XmlHttpRequest, but their HTML Display Engine remains at the level of 1999. In addition to the large increase in the number of users, there is actually no progress in Web. This is taken into account in HTML 5. Currently, it provides some real benefits for Web developers. With the slow upgrade of browsers, page viewers will gradually enjoy these benefits.
Let's take a look at what HTML 5 provides.
(To be continued)
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to firstname.lastname@example.org. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
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:
and provide relevant evidence. A staff member will contact you within 5 working days.