html5 is the abbreviation of HyperText Markup Language5; HTML5 technology combines and innovates the relevant standards of HTML4.01 to meet the requirements of modern network development; HTML5 is composed of different technologies and has been widely used in the Internet , providing more standard machines that enhance network applications.
The operating environment of this article: Windows 7 system, HTML5 version, Dell G3 computer.
What is the abbreviation of html5?
HTML5 is the abbreviation of HyperText Markup Language 5. HTML5 technology combines the relevant standards of HTML4.01 and innovates it to meet the requirements of modern network development. , officially released in 2008. HTML5 is made up of different technologies and is widely used on the Internet to provide more standard machines for enhanced web applications. Compared with traditional technologies, HTML5's grammatical features are more obvious and combined with the content of SVG. The use of these contents in web pages can make it easier to process multimedia content, and HTML5 also incorporates other elements to adjust and modify the original functions and standardize them. HTML5 reached a stable version in 2012.
New features:
HTML5 brings the Web into a mature application platform where video, audio, images, animations and interactions with devices are all standardized.
Smart Form
The form is the main component that realizes the interaction between the user and the page background. HTML5 is more powerful in form design. The diversity of input types and attributes has greatly enhanced the form forms that can be expressed in HTML. Coupled with some newly added form tags, controls that originally required JavaScript to be implemented can be implemented directly using HTML5 forms; some such as content prompts , focus processing, data validation and other functions can also be completed through HTML5’s smart form attribute tags.
Drawing canvas
The canvas element of HTML5 can implement the canvas function, which uses JavaScript scripting language on the web page through its own API. Drawing and processing, with methods for drawing lines, arcs, and rectangles, filling areas with styles and colors, writing stylized text, and adding images, all of which can be controlled every pixel using JavaScript. The canvas element of HTML5 allows the browser to directly display graphics or animated images without plug-ins such as Flash or Silverlight.
Multimedia
One of the biggest features of HTML5 is its support for audio and video. In addition, it adds
Geographic positioning
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. Through HTML5 positioning, in addition to positioning your own position, you can also obtain other people's positioning information when they open their information to you.
Data Storage
HTML5 has its own storage method compared to traditional data storage, allowing larger-scale data storage on the client side . 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.
Multi-threading
HTML5 uses Web Worker to liberate Web applications from the original single-threaded industry by creating a Web Worker object You can achieve multi-threaded operations. 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 adds a new WebWorker API, users can create multiple threads in the background, and hand over long-term processing to the background without affecting the user interface and response speed. These processes will not be interrupted due to user interaction. Page and window objects cannot be accessed using background threads, but background threads can interact with data between pages. The general steps for data interaction between sub-threads are as follows: ① First create a sub-thread to send data; ② Execute the sub-thread task and send the data to be transferred to the main thread; ③ After the main thread receives the data passed by the sub-thread, When sending a message, create a sub-thread that receives data, and then pass the message returned in the sub-thread that sends data to the sub-thread that receives data; ④ Execute the code in the sub-thread that receives data.
Recommended learning: "HTML5 Video Tutorial" | "HTML Video Tutorial"
The above is the detailed content of What is the abbreviation of html5?. For more information, please follow other related articles on the PHP Chinese website!