Reasons for the launch
The advent of HTML is to solve the problems existing on the web.
· The compatibility between Web browsers is very low
· The document structure is not clear (the entire page Div, not semantically)
· The functionality of the Web application has been limited
Changes in grammar
DOCTYPE statement (<! DOCTYPE html>)
Specify character encoding (<meta charset= "UTF-8" >)
Elements that can omit markup
Property with a Boolean value (<input type= "checkbox" checked>) (property is not written as false, write-only property or write = "" or = "checked" are true
Omit quotation marks (attribute values can not be written in quotation marks)
New and repealed elements as well as new attributes and repealed properties
Http://www.w3school.com.cn/tags/index.asp
New structure elements
section, article, aside, header, Hgroup, footer, nav, figure
Additional elements to add
Video, audio, canvas, etc...
The type of the new INPUT element
email, URL, number, range, Date pickers
Elements of abolition
· Elements that can be substituted with CSS: Basefont, big, center, fonts, S, TT, u, etc.
· No longer use frame frame (only IFrame is still in use, also useful)
· And some other elements that have been abolished.
New properties
· Form-related properties
· Link-related properties
· Other properties
(http://www.jb51.net/html5/73524.html)
Revoked Properties
(http://www.jb51.net/html5/73524.html)
New Global Properties
· Contenteditable
· DesignMode (can only be set in JS, on or off, control whether the elements in the page can be edited)
· Hidden (can be controlled in JS)
· TabIndex (Controls the Order of tab keys)
Web Front end note 2.9 HTML 5 differs from HTML 4