HTML5

What is HTML5?

HTML5 is the next generation HTML standard.

HTML5 is the latest revised version of HTML. The standard was completed by the World Wide Web Consortium (W3C) in October 2014.

How did HTML5 get started?

HTML5 is the result of collaboration between W3C and WHATWG, which stands for Web Hypertext Application Technology Working Group. .

The WHATWG focuses on web forms and applications, while the W3C focuses on XHTML 2.0. In 2006, the two parties decided to collaborate to create a new version of HTML.

Some interesting new features in HTML5:

Canvas element for drawing

Video and audio elements for media playback

For local Better support for offline storage

New special content elements, such as article, footer, header, nav, section

New form controls, such as calendar, date, time, email, url , search


HTML5 features

Semantic Features (Class: Semantic)
HTML5 gives web pages better meaning and structure. Richer tags will come with support for RDFa, microdata and microformats, building a data-driven Web that is more valuable to both programs and users.
Local Storage Features (Class: OFFLINE & STORAGE)
Web APPs developed based on HTML5 have shorter startup time and faster networking speeds, all thanks to the HTML5 APP Cache and local storage functions. Indexed DB (one of the most important technologies for html5 local storage) and API documentation.
Device Compatibility Features (Class: DEVICE ACCESS)
Since the API documentation of the Geolocation function was made public, HTML5 has provided web application developers with more functional optimization options, bringing More experience features. HTML5 provides an unprecedented open interface for data and application access. Allows external applications to be directly connected to the data inside the browser, for example, video and audio can be directly connected to microphones and cameras.
Connection Features (Class: CONNECTIVITY)
More effective connection efficiency enables page-based real-time chat, faster web game experience, and more optimized online communication. HTML5 has more effective server push technology. Server-Sent Event and WebSockets are two of the features. These two features can help us realize the function of the server "pushing" data to the client.
Web Multimedia Features (Class: MULTIMEDIA)
Supports audio, video and other multimedia functions on the web page, complementing the website's own APPS, camera, and audio and video functions.
Class: 3D, Graphics & Effects
Based on 3D functions of SVG, Canvas, WebGL and CSS3, users will be amazed by the 3D functions presented in the browser Amazing visual effects.
Performance & Integration Features (Class: Performance & Integration)
No user will wait forever for your Loading - HTML5 will help your web applications and websites run faster in diverse environments through technologies such as XMLHttpRequest2. Work.
CSS3 Features (Class: CSS3)
CSS3 provides more styles and stronger effects without sacrificing performance and semantic structure. In addition, the Web's Open Font Format (WOFF) also provides greater flexibility and control than previous Web typography.
Edit this paragraph Currently, there are only two ways to develop HTML5 applications on mobile devices, either using all HTML5 syntax, or only using javascript engine.
The construction method of javascript engine makes it possible to create mobile web games. Since the interface layer is very complex, a UI tool kit has been reserved for use.
Pure HTML5 mobile applications run slowly and are full of errors, but the results will improve after optimization. Although not many people are willing to do such optimization, you can still try it.
The biggest advantage of HTML5 mobile applications is that they can be debugged and modified directly on the web page. Developers of native applications may need to spend a lot of effort to achieve the effect of HTML5, and constantly repeat coding, debugging and running. This is a problem that must be solved first.
HTML5 porting is very simple, but it is assumed that everyone will make this an automated operation.


##HTML5

The declaration must be located on the first line in the HTML5 document, and its use is very simple:

HTML5 Improvements

New elements

New attributes

Full support for CSS3

Video and Audio

2D/3D graphics

Local Storage

Local SQL Data

Web Application

HTML5 Multimedia

Using HTML5 you can simply play videos on web pages (video) and audio (audio).

HTML5
Continuing Learning
||
HTML5圆角例子
全圆角例子
左上圆角例子
右上圆角例子
左下圆角例子
右下圆角例子
submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!