What does h5 refer to in self-media?

HTML5 is the specification of the core language HTML in the Web. The content that users see when browsing the web using any means is originally in HTML format. It is converted into a readable format through some technical processing in the browser. Identified information.

The word H5 comes from "HTML5". The so-called "HTML5" refers to the fifth version of "HTML", and "HTML" refers to the standard language for describing web pages.

Almost all online application websites are essentially an "H5". Simply put, an H5 page is a page made using HTML5, which uses pictures, text, animation, music, etc. to blend together to express a certain artistic effect or promotion effect.

Extended information

New features

HTML5 brings the Web into a mature application platform, on which video, audio, images, animations and Device interactions are standardized. ?

1. Smart Forms

Forms are the main component that enables users to interact with the page background. HTML5 is more powerful in form design. The diversity of input types and attributes greatly enhances the form form that HTML can express.

Coupled with some newly added form tags, controls that originally required JavaScript can be implemented directly using HTML5 forms; some functions such as content prompts, focus processing, and data verification can also be implemented. This is done through THML5's smart form attribute tags.

2. Drawing canvas

The canvas element of HTML5 can realize the canvas function. This element uses the JavaScript script language to draw graphics and process on the web page through its own API. It has Implement methods to draw lines, arcs, and rectangles, fill areas with styles and colors, write stylized text, and add images, and each pixel can be controlled using JavaScript.

HTML5's canvas element allows the browser to directly display graphics or animated images without plug-ins such as Flash or Silverlight. ?

3. Multimedia

One of the biggest features of HTML5 is its support for audio and video. By adding two tags,

HTML5's support for audio and video files frees browsers from dependence on plug-ins, speeds up page loading, and expands the development space for Internet multimedia technology. ?

4. Geolocation

Nowadays, mobile networks are very popular. Users are increasingly applying real-time positioning and their requirements are getting higher and higher. By introducing the Geolocation API, HTML5 can realize the user's positioning function through GPS or network information, making positioning more accurate and flexible.

Positioning through HTML5, in addition to locating your own location, you can also obtain other people's positioning information when they open their information to you. ?

5. Data storage

HTML5 has its own storage method compared with traditional data storage, allowing larger-scale data storage on the client. In order to meet different needs, HTML5 supports two storage mechanisms: DOM Storage and Web SQL Database.

Among them, DOM Storage is suitable for basic local storage with key/value pairs; while WebSQLDatabase is a storage method suitable for relational databases. Developers can use SQL syntax to query, insert and other operations on these data. . ?

6. Multi-threading

HTML5 uses Web Worker to liberate Web applications from the original single-threaded industry. Multi-threaded operations can be achieved by creating a Web Worker object.

Web programs created by JavaScript are all executed in a single thread, and the response time is long. When JavaScript is too complex, deadlock situations may occur.

HTML5 has added a new WebWorker API. Users can create multiple threads in the background and hand over long-time processing to the background without affecting the user interface and response speed. These processes will not be affected by user interaction. And the operation is interrupted. Page and window objects cannot be accessed using background threads, but background threads can interact with data between surfaces.

Baidu Encyclopedia-html5