What HTML5 is, finally know, high moral platform, Prof + {+}] Coach [2O5O26 teaching expertise

What HTML5 is, finally know, high moral platform, Prof + {+}] Coach [2O5O26 teaching expertise. HTML5 will bring a full-fledged Web application platform, in this platform, interactive video, audio, images, animation, and have carried out with the equipment specification.  

Smart Forms

Form is to achieve user to interact with the page background the main components, HTML5 on the form design more powerful. input types and attributes of diversity greatly enhanced form can be expressed in the form of HTML, plus the newly added some form tag, making an already requires JavaScript to achieve control, you can use the direct form of HTML5 to achieve; content such as tips focus processing, data validation functions, may be accomplished by a smart label form property HTML5.

Drawing Canvas

HTML5 canvas element may be implemented canvas function element using the JavaScript scripting language to draw graphics on the page and the process by binding own API, has achieved draw lines, arcs and a rectangular, with a style and color fill area, writing style text and a method of adding an image, and using the JavaScript can be controlled for each pixel. HTML5 canvas element allows the browser without waiting for Flash or Silverlight plug-in will be able to directly display graphics or animated images.  [6] 

multimedia

One of the most significant feature is support for HTML5 audio and video, by increasing the <audio>, <video> tag to achieve two to support the use of video in multimedia audio, both embedded in Web pages as long as the label, without third-party plug-ins (like Flash) can achieve playback of audio and video. HTML5 audio, video files so that browsers get rid of dependence on the widget to speed up the loading speed of the page, expand the space for development of Internet multimedia technology.  [6] 

Geopositioning

Today mobile networks has become widely accepted, users increasingly, increasingly high demand for real-time positioning. HTML5 can be achieved by introducing a user's Geolocation API information through GPS or network positioning, positioning more accurate and flexible. Positioned by HTML5, in addition to his location, location information can also be obtained in the case of others, others open information for you.  [6] 

data storage

HTML5 data storage than traditional storage methods have their own, allows for large-scale data stored in the client. In order to meet different needs, HTML5 support DOM Storage and Web SQL Database two storage mechanisms. Wherein, DOM Storage applicable to substantially locally stored key / value pairs; WebSQLDatabase is applied to the relational database storage, developers can use SQL syntax of the data query, insert and other operations.  [6] 

Multithreading

HTML5 Web Worker will use Web applications liberation from the original single-threaded out of the industry by creating a Web Worker objects can be achieved multithreaded operations. JavaScript Web handles transactions that are created are executed in a single thread, long response time, and when JavaScript is too complicated, there is a deadlock situation may occur. HTML5 adds a new WebWorkerAPI, users can create multiple threads in the background, the post-processing takes a long time to the table without affecting the user interface and speed of response, we will not deal with these user interaction outages. Use a background thread can not access the page and window objects, but a background thread can exchange data between Chen and face. Data exchange between the child thread and the child thread, the steps outlined as follows: ① create child thread transmission data; ② sub-thread execution task, sending the data to be transferred to the main thread; ③ passed back to the main thread receives child threads child thread is created when the received message data, then passes the message data is transmitted child thread returned to the child thread to receive data; ④ the child thread executed the code in the received data.  [6] 

 

 

Guess you like

Origin www.cnblogs.com/3115765473--QQ/p/12549054.html