A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

Changes from HTML4

From WHATWG Wiki
Jump to navigation Jump to search

Syntax

  • HTML5 specifies its own syntax rules authors have to follow. These syntax rules are compatible with the XHTML syntax rules althoug this does not imply that parsing such a document with an HTML parser will give the same result as parsing it with an XML parser.
  • HTML5 defines its own parsing rules (including "error correction") for text/html resources and no longer assumes SGML features are supported.

New elements

  • article
  • aside
  • audio
  • canvas
  • command
  • datagrid
  • datalist (Web Forms 2)
  • details
  • dialog
  • event-source
  • figure
  • footer
  • header
  • m
  • menu (new semantics and no longer deprecated)
  • meter
  • nav
  • output (Web Forms 2)
  • progress
  • section
  • source
  • time
  • video

Dropped elements

  • acronym (use abbr instead)
  • applet (use object instead)
  • basefont
  • big
  • center
  • dir
  • frame
  • frameset
  • isindex
  • noframes
  • noscript (only dropped in XHTML5)
  • s
  • strike
  • tt
  • u