Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML5 New Elements

HTML5 New Elements


HTML5 New Elements

Much has changed in HTML 4.01 since 1999. Today, several elements in HTML 4.01 have been deprecated, and these elements have been removed or redefined in HTML5.

To better handle today's Internet applications, HTML5 has added many new elements and features, such as: drawing of graphics, multimedia content, better page structure, better form processing, several API drag-and-drop elements, geolocation, including web application cache, storage, web workers, and so on.


New Elements

tag Description
The tag defines graphics, such as charts and other images. This tag is based on the JavaScript drawing API

New Multimedia Elements

tag Description
Defines audio content
Defines a video (video or movie)
Defines multimedia resources
Defines embedded content, such as a plugin.
For media such as

New Form Elements

tag Description
Defines a list of options. Use this element together with the input element to define the possible values of an input.
Specifies a key-pair generator field for forms.
Defines different types of output, such as the output of a script.

New Semantic and Structural Elements

HTML5 provides new elements to create better page structure:

tag Description
Defines independent content areas of a page.
Defines the sidebar content of a page.
Allows you to set a piece of text so that it is independent of its parent element's text direction.
Defines a command button, such as a radio button, checkbox, or button
Describes the details of a document or a part of a document
Defines a dialog box, such as a prompt
The tag contains the title of the details element.
Specifies independent flow content (images, charts, photos, code, and so on).
define
The title of an element
Defines the footer of a section or document.
Defines the header area of a document
Defines marked text.
Defines a measurement. Only for measurements with known maximum and minimum values.
Defines a section of navigation links.
Defines the progress of a task of any kind.
Defines a ruby annotation (Chinese phonetic notation or character).
Defines the explanation or pronunciation of a character (Chinese phonetic notation or character).
Used inside a ruby annotation to define the content displayed by browsers that do not support the ruby element.
Defines a section in a document (section, subsection).
Defines a date or time.
Specifies where in the text it is appropriate to add a line break.

Removed Elements

The following HTML 4.01 elements have been removed in HTML5: