HTML 5 Specs for Web developers

w3.org/...diff

  • requires a DOCTYPE <!DOCTYPE html>
  • <meta charset="UTF-8">
  • mathML and SVG are permitted ( supported by?)
    A green circle: <svg> <circle r="50" cx="50" cy="50" fill="green"/> <svg> section a generic document or application section. It can be used together with the h1, h2, h3, h4, h5, and h6 elements to indicate the document structure. article represents an independent piece of content of a document, such as a blog entry or newspaper article. aside represents a piece of content that is only slightly related to the rest of the page. header represents the header of a section. footer represents a footer for a section and can contain information about the author, copyright information, et cetera. nav represents a section of the document intended for navigation. dialog can be used to mark up a conversation like this:
    Costello
    Look, you gotta first baseman?
    Abbott
    Certainly.
    Costello
    Who's playing first?
    Abbott
    That's right.
    Costello
    When you pay off the first baseman every month, who gets the money?
    Abbott
    Every dollar of it.
    figure can be used to associate a caption together with some embedded content, such as a graphic or video:
    Example
    Then there are several other new elements: audio and video for multimedia content. Both provide an API so application authors can script their own user interface, but there is also a way to trigger a user interface provided by the user agent. source elements are used together with these elements if there are multiple streams available of different types. embed is used for plugin content. mark represents a run of marked text. meter represents a measurement, such as disk usage. progress represents a completion of a task, such as downloading or when performing a series of expensive operations. time represents a date and/or time. canvas is used for rendering dynamic bitmap graphics on the fly, such as graphs or games. command represents a command the user can invoke. datagrid represents an interactive representation of a tree, list or tabular data. details represents additional information or controls which the user can obtain on demand. datalist together with the a new list attribute for input is used to make comboboxes: keygen represents control for key pair generation. bb represents a user agent command that the user can invoke. output represents some type of output, such as from a calculation done through scripting. ruby, rt and rp allow for marking up ruby annotations. The input element's type attribute now has the following new values: datetime, datetime-local, date, month, week, time, number, range, email, url, search, color