In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, the editor will bring you about the relationship between html and html5. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
Html is a markup language, and html5 is the fifth revision of HTML standard. It is a new standard of HTML, XHTML and HTML DOM. It adds header, footer, nav, section and a series of API on the basis of HTML standard.
The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.
The relationship between html and html5
HTML, or Hypertext markup language (Hyper Text Markup Language), is a markup language designed for web page creation and other information that can be seen in web browsers, specifically for designing and editing web pages.
HTML5 is the fifth revision of the HTML standard, the latest revised version of HTML, and the new standards of HTML, XHTML and HTML DOM. The World wide Web Consortium (W3C) completed the standard formulation in October 2014.
Html5 adds tags such as header, footer, nav, section and a series of API on the basis of HTML standard.
HTML5 also specifies various scripts API that can be used with JavaScript and CSS3. The following are just some of them: drag and drop, geolocation, application caching, local storage, network worker, SSE (server sending events)
All in all, HTML5 is so far the advanced standard version of HTML, and its invention brings a whole new world of multimedia possibilities for developers and designers.
The difference between html and html5
1. Document type declaration differences
In HTML 5, the Doctype declaration is very easy to use, and the Doctype declaration is too long and complex in HTML
The type declaration of the HTML document is as follows:
/ / or
The type declaration of the HTML5 document is as follows:
HTML5.0: the document states that HTML5 is easy to write, concise, and helpful for programmers to read and develop quickly.
2. The difference of vector graphics.
HTML5 supports SVG, canvas and other virtual vector graphics, while in HTML, vector graphics can only be used by combining it with different technologies such as Flash,Silver-light.
3. The difference between audio and video support
HTML does not support audio and video if it does not use Flash player support. HTML5 uses and tags to support audio and video control.
4. Structural semantic differences.
Html: there are no tags that reflect structural semantics, such as:
Html5: many semantic tags have been added, such as:,.
Some elements have been added and modified relative to HTML,HTML5.
5. Grammar processing
HTML cannot handle inaccurate syntax; HTML5 can handle inaccurate syntax.
6. HTML5 added new form controls, such as date and time, email, number, range, phone, URL, search, etc.
7. The properties of charset,async and ping are part of HTML 5, and there are no attributes such as charset,async and ping in HTML
8. Enhanced support for Web application functionality: allowing browsers to run as an application platform in HTML5 does not require any JS or Flash-based approach, because the elements inherent in HTML5 provide all the functionality.
9. The newly added and elements are components of the interactive element specification, but they are not often used or talked about by the developer community. However, these two projects can be used to ensure enhanced Web interactivity. For simplicity, tags are used to represent menu commands in mobile and desktop applications.
The above is the relationship between html and html5 shared by the editor. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.