concept

  • HTML5 will become the new standard for HTML, XHTML, and HTML DOM

Document type declaration

  • HTML

    <! PUBLIC DOCTYPE HTML "- 4.01 / / / / / / W3C DTD HTML EN" "http://www.w3333.org/TR/html4/. Strict DTD" >
  • HTML5

    <! DOCTYPE html>
  • As you can see, HTML’s document type declaration is long and complex, while HTML5’s document type declaration is relatively easy for programmers to read and develop quickly

Audio and video support

  • HTML5 supports audio and video controls through the Audio and Video tags

Graphics Support

  • HTML5 uses SVG, Canvas tag for drawing

Added some semantic elements and removed elements

  • new

    • Article, NAV, Details, Footer, Header, Main, Time, Canvas, SVG, Audio, Video, etc
  • remove

    • Tags such as font, center, u, big, strike, tt, etc

Session storage and local storage

  • LocalStorage and sessionStorage

additional

  • This article is published through multiple platforms of “We Media” and will not be maintained after publication. If you have any objection to the content, you can discuss it in the GitHub below
  • The ongoing maintenance / 500 + face questions before update/notes 】 https://github.com/noxussj/In…
  • [3D city modeling using three. JS (Zhuhai City)] https://3d.noxussj.top/