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

Analyze the development history of HTML5

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly introduces "analyzing the history of HTML5 development". In daily operation, I believe many people have doubts about analyzing the history of HTML5 development. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "analyzing the history of HTML5 development". Next, please follow the editor to study!

The HTML5 draft, formerly known as WebApplications1.0, was proposed by WHATWG in 2004, accepted by the W3C in 2007, and established a new HTML working group.

The first formal draft of HTML5 was published on January 22nd, 2008. HTML5 is still in the process of improvement. However, most modern browsers already have some HTML5 support.

On December 17, 2012, the World wide Web Consortium (W3C) officially announced that the HTML5 specification, which has condensed a large number of network workers, has been formally finalized. According to the W3C statement, "HTML5 is the cornerstone of the open Web network platform."

On May 6, 2013, the official draft of HTML5.1 was published. The specification defines the fifth major version, with the first revision of the core language of the World wide Web: hypertext markup language (HTML). In this release, new features are being introduced to help authors of Web applications strive to improve the interoperability of new elements.

The release of the draft, since December 27, 2012, has made nearly 100 changes, including HTML and XHTML tags, related API, Canvas, etc., while HTML5 image img tags and svg have also been improved, and the performance has been further improved.

HTML5 browsers are compatible

Browsers that support Html5 include Firefox,IE9 and its higher versions, Chrome,Safari,Opera, etc., domestic browsers (Maxthon), and domestic browsers based on IE or Chromium (engineering version or experimental version of Chrome), Sogou browser, QQ Browser, browser and other domestic browsers also have the ability to support HTML5.

HTML5 syntax

The file extender of the content type (ContentType) HTML5 remains the same as the content type, still ".html" or ".htm". DOCTYPE declares case-insensitive specified character set encoding metacharset= "UTF-8" elements that omit tags do not allow writing closing tag elements: br, col, embed, hr, img, input, link, meta

Elements of the closing tag can be omitted: li, dt, dd, p, option, colgroup, thead, tbody, tfoot, tr, td, th

You can omit all tagged elements: html, head, body, colgroup, tbody omit quotation mark attribute values can use double quotation marks or single quotation marks.

New semantic tags for HTML5

The section element represents a content block in the page

The article element represents a piece of context-free independent content

Auxiliary information related to the content of the article outside the article of the aside element

The header element represents a content block on a page or the title of the entire page

The footer element represents a content block on a page or a footnote for the entire page

The nav element represents the navigation link section of the page

The figure element represents a separate stream content, and use the figcaption element to add a title to it (the location of the first or last child element)

The main element represents the main content of the page (ie incompatible)

Compatible with lower-version browsers:

Application of Video and audio

Video element defines video Video element audio element defines audio Audio element

Controls property: if this property appears, the control is displayed to the user, such as a play button.

Autoplay attribute: if this attribute appears, the video will play as soon as it is ready.

Loop property: repeat playback property.

Muted property: mute property.

Poster attribute: specifies the image to be displayed when the video is being downloaded until the user clicks the play button.

At this point, the study of "analyzing the Development History of HTML5" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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