This tutorial explains the new features in HTML 5 and the use of each label.
Examples in each chapter
With our HTML editor, you can edit the HTML and click the button to see the results.
Instance
<! DOCTYPE html> <html> <body> <video width= "height=" controls= "Controls" > <source src= "Movie.ogg" type= "Video/ogg" > <source src= "Movie.mp4" type= "Video/mp4" > Your Browser does not support the "video tag." </video> </body> </html>
Tiy Try it yourself, the code is as follows:
<! DOCTYPE html> <html> <body> <video width= "height=" controls= "Controls" > <source src= "/i/movie.ogg" type= "Video/ogg" > <source src= "/i/movie.mp4" type= "Video/mp4" > Your Browser does not support the "video tag." </video> </body> </html>
The code in the instance tiy is used to see how it works. Start learning HTML 5 now!
HTML 5 is the next generation of HTML.
What is HTML 5?
HTML 5 will be the new standard for HTML, XHTML, and HTML DOM.
The last version of HTML was born in 1999. Since then, the Web world has undergone great changes.
HTML 5 is still in perfect. However, most modern browsers already have some HTML 5 support.
How does HTML 5 get started?
HTML 5 is the result of collaboration between the WHATWG and the consortium.
Editor's note: The World Wide Web Consortium, www Alliance.
Editor's note: WHATWG refers to the Web hypertext creator Marvell Sharable Group.
WHATWG is dedicated to Web forms and applications, while the consortium focuses on XHTML 2.0. In 2006, the two sides decided to cooperate,
To create a new version of HTML.
Some rules that are established for HTML 5:
New features should be based on HTML, CSS, DOM, and http://www.aliyun.com/zixun/aggregation/33906.html ">javascript."
Reduce the need for external plug-ins (such as Flash)
Better error handling
More tokens to replace scripts
HTML 5 should be independent of the device
Development process should be transparent to the public
New features
Some interesting new features in HTML 5:
Canvas Elements for painting
Video and audio elements for media playback
Better support for local offline storage
New special content elements such as aspires, footer, header, nav, section new form controls, such as Calendar, date, time, email, url, search
Browser support
The latest version of Safari, Chrome, Firefox, and Opera supports some of the HTML 5 features. Internet Explorer 9 will support some of the HTML 5 features.
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.