Although HTML5 does not completely subvert HTML4, they also have some differences. This article has compiled some visible differences. Just master some first. It is not too late to study them in detail after all are supported. Interested friends should not miss it.
HTML5 is the next version of the HTML standard. Although HTML5 does not completely subvert HTML4, there are some differences. For the latest and most complete HTML5-HTML4 comparison information, please see http://dev.w3.org/html5/html4-differences/, which seems to be slightly more. In this world where IE still exists, it is enough to understand some of the differences of HTML5 first, and it will not be too late to study it in detail after it is fully supported.
1. Simplified syntax
HTML5 simplifies many subtle syntax, such as doctype declaration, you only need to write . HTML 5 specifies UTF-8 encoding as followsset="UTF-8">
2. <canvas> ;Tag replaces Flash
Flash has caused trouble for many web developers. Playing Flash on a web page requires a bunch of code and plug-ins. The
3 NewMany tags
One principle of HTML5 design is to better reflect the semantics of the website, so
code as follows:
<video width="450" height="340" controls> <source src="jamshed.mp4" type="video/mp4"> Your browser does'nt support video embedding feature. </video>
Similarly, audio and other others are similar.
4. Brand new form
HTML5 has made a lot of modifications to the