Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the essence of HTML5?

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article will explain in detail what the essence of HTML5 is. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Hypertext markup language (HTML) 5 introduces new elements to HTML for the first time. New structural elements include aside, figure, and section. New inline elements include time, meter, and progress. The new embedded elements are video and audio. The new interaction elements are details, datagrid, and command.

The development of Hypertext markup language (HTML) stopped in HTML 4 in 1999. The World wide Web Consortium (W3C) has shifted its focus to changing the underlying syntax of HTML from Standard Universal markup language (SGML) to Extensible markup language (XML), as well as new markup languages such as Scalable Vector Graphics (SVG), XForms and MathML. Browser vendors focus on browser features such as tabs and rich site summary (RSS) readers. Web designers are beginning to learn to use asynchronous JavaScript XML (Ajax) to build their own applications through cascading style sheets (CSS) and the JavaScript ™language within the existing framework. But over the next eight years, HTML itself remained unchanged.

Recently, it has come back to life again. Three major browser vendors-Apple, Opera and Mozilla Foundation-have set up Web Hypertext Application Technology Working Group (WhatWG) to develop new versions of traditional HTML. Recently, the W3C has also taken note of these activities and launched its own next-generation HTML project, and many of the members of both sides are the same. The two projects are likely to merge eventually. Although many details are still being debated, the general outline of the next version of HTML is clear.

Web developers have been expecting a new version of HTML (commonly known as HTML 5, but also known as Web Applications 1.0) since 1999, and now it has finally been released. It retains the original features of HTML: no namespaces or schemas. The element does not have to end. Browsers are tolerant of mistakes. P is still p < P > table is still table.

If a Web developer were frozen in 1999 and thawed now, he would encounter some new confusing elements. Yes, elements that he is familiar with (such as div) still remain; however, HTML now 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 have also been added. However, if he takes a closer look, he will find that there is actually no difference between these elements. Many of these elements may have been needed by developers but not available in 1999. These new elements are easy to understand by making a simple analogy with the elements he has already mastered. In fact, they are very easy to master compared to Ajax or CSS.

Finally, when he opens 300MHz's laptop (which runs Windows 98, which was also frozen in 1999), he may be surprised by the effect of the new pages displayed in Netscape 4 and Windows ®Internet Explorer ®5. Of course, these old browsers don't recognize the new elements and will ignore them completely, but the page will still be displayed and the content will still be complete.

This is not a fictional story. HTML 5 is designed to degrade smoothly in browsers that don't support it. The reason is simple: we are all such "primitive people". Browsers now have tabs, CSS, and XmlHttpRequest, but their HTML display engines remain at 1999 levels. Apart from the significant increase in the number of users, Web has not made much progress in nature. HTML 5 takes this into account. It currently has some real benefits for Web developers that page viewers will gradually enjoy as browsers slowly upgrade.

This is the end of the article on "what is the essence of HTML5". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report