HTML5 New Features

Source: Internet
Author: User

HTML5 New Features

1. Get rid of platform Dependencies
HTML5 can get rid of its dependence on the platform. Users can access the application directly by opening a browser without having to go through various Store reviews.
2. Real-time update
Real-time updates usually take about seven working days for the platform to review. What should I do if I find a problem after the release? This problem does not exist in Web mode.
3. offline use
Users can use it offline, with few downloads updated. All files can be updated, or some files can be replaced.
4. Code Security
With HTML5, the code is more secure and secure. As we all know, code security is a major problem for Web applications. But now HTML5 can encrypt all Web code and decrypt the local application before running it, greatly providing code security.
5. Cross-Platform
HTML5 can be used across platforms. Most of the core code does not need to be rewritten. If Javascript code is used well, it can be used in many places, including mobile applications, mobile websites, PC websites, and various browser plug-ins, you can even use WebKit as a cross-platform application. It is true that this method is not completely cross-platform, but it is enough to reduce a lot of work, especially the later maintenance.
6. Make full use of Native
HTML5 can use the browser as an intermediary to make full use of the benefits of Native, such as using GPS, camera, local album, reading local contacts, or using the push function. Most importantly, some functions that cannot be implemented on the Web can be implemented using Native.

HTML5 brings many new features and changes in HTML code. You need to use some specific API scripts, such: DOM implements 2D drawing Canvas object controllable media playback offline storage document editing drag-and-drop cross-document message browser history management MIME type and Protocol Registration those HTML5-supported browsers must be more flexible, browsers that do not support HTML5 will ignore the HTML5 code.

HTML5 introduces new HTML elements and attributes, some of which are semantic versions of traditional general elements, such as replacing

 

The nav, footer, and other elements of the div element also have some brand new elements, such as audio and video. Some elements that are not recommended in HTML4, such as font and center, will be discarded. HTML5 introduces the following new HTML elements:

 

Article: article

Aside: Content in the sidebar next to the content

Audio: audio

Canvas: 2D drawing

Command: command button

Datalist: drop-down box

Details: Object details

Dialog: dialog Box

Embed: External plug-in or object

Figure: a set of media objects and label text

Footer: footer

Header: Top

Hgroup: information about a part of the document

Keygen: generated form

Key mark: The Marked text.

Meter: pre-defined measurement within the range

Nav: navigation bar

Output: output

SS: progress bar

Rp: indicates the rubby content.

Rt: Description of rubby content

Ruby: rubby content

Section: define a part

Source: Media Resource

Time: Date and time

Video: video

These new tags make it easier for your HTML documents to load and search engines to capture useful information. For example, a search engine can directly capture the content in the article tag that it is most concerned about.

Related Article

Contact Us

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: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.