concept
- HTML5 will be the new standard for HTML, XHTML, and HTML DOM
Document type declaration
-
HTML
<! DOCTYPEhtml PUBLIC "- / / / / W3C DTD HTML 4.01 / / EN" "http://www.w3333.org/TR/html4/ strict.dtd"> Copy the code
-
HTML5
<! DOCTYPEhtml> Copy the code
-
As you can see, HTML’s document type declarations are too long and complex, whereas HTML5’s document declarations are relatively simple, making them easier for programmers to read and develop quickly
Audio and video support
- HTML5 supports audio and video controls through the Audio and video tags
Graphical support
- HTML5 uses SVG and Canvas tags for drawing
Added some semantic elements and removed elements
-
new
- Article, nav, Details, footer, header, main, time, canvas, SVG, audio, video and other tags
-
remove
- Font, Center, U, BIG, strike, TT and other labels
Session storage and local storage
- LocalStorage and sessionStorage
additional
-
Continuous maintenance/update 500+ github.com/noxussj/Int…
-
Big data visualization plugin ã ã www.npmjs.com/package/nox…
-
3D city modeling using three.js (Zhuhai