HTML5 Elements / APIs
HTML5 is the next generation of HTML
and will become the new standard for HTML, XHTML, and the HTML DOM. In addition,
HTML5 adds many new features.
Tag
|
Description
|
<!--...-->
|
Defines
a comment
|
<!DOCTYPE>
|
Defines
the document type
|
<a>
|
Defines
a hyperlink
|
<abbr>
|
Defines
an abbreviation
|
<acronym>
|
Not
supported in HTML5
|
<address>
|
Defines
an address element
|
<applet>
|
Not
supported in HTML5
|
<area>
|
Defines
an area inside an image map
|
<article>
|
Defines
an article
|
<aside>
|
Defines
content aside from the page content
|
<audio>
|
Defines
sound content
|
<b>
|
Defines
bold text
|
<base>
|
Defines
a base URL for all the links in a page
|
<basefont>
|
Not
supported in HTML5
|
<bdi>
|
Defines
a span of text that is isolated from its surroundings for the purposes of
bidirectional text formatting
|
<bdo>
|
Defines
the direction of text display
|
<big>
|
Not
supported in HTML5
|
<blockquote>
|
Defines
a long quotation
|
<body>
|
Defines
the body element
|
<br>
|
Inserts
a single line break
|
<button>
|
Defines
a push button
|
<canvas>
|
Defines
graphics
|
<caption>
|
Defines
a table caption
|
<center>
|
Not
supported in HTML5
|
<cite>
|
Defines
a citation
|
<code>
|
Defines
computer code text
|
<col>
|
Defines
attributes for table columns
|
<colgroup>
|
Defines
groups of table columns
|
<command>
|
Defines
a command button
|
<datalist>
|
Defines
a dropdown list
|
<dd>
|
Defines
a definition description
|
<del>
|
Defines
deleted text
|
<details>
|
Defines
details of an element
|
<dfn>
|
Defines a
definition term
|
<dir>
|
Not
supported in HTML5
|
<div>
|
Defines
a section in a document
|
<dl>
|
Defines
a definition list
|
<dt>
|
Defines
a definition term
|
<em>
|
Defines
emphasized text
|
<embed>
|
Defines
external interactive content or plugin
|
<fieldset>
|
Defines
a fieldset
|
<figcaption>
|
Defines
the caption of a figure element
|
<figure>
|
Defines
a group of media content, and their caption
|
<font>
|
Not
supported in HTML5
|
<footer>
|
Defines
a footer for a section or page
|
<form>
|
Defines
a form
|
<frame>
|
Not
supported in HTML5
|
<frameset>
|
Not
supported in HTML5
|
<h1>
to <h6>
|
Defines
header 1 to header 6
|
<head>
|
Defines
information about the document
|
<header>
|
Defines
a header for a section or page
|
<hgroup>
|
Defines
information about a section in a document
|
<hr>
|
Defines
a horizontal rule
|
<html>
|
Defines
an html document
|
<i>
|
Defines
italic text
|
<iframe>
|
Defines
an inline sub window (frame)
|
<img>
|
Defines
an image
|
<input>
|
Defines
an input field
|
<ins>
|
Defines
inserted text
|
<keygen>
|
Defines
a generated key in a form
|
<kbd>
|
Defines
keyboard text
|
<label>
|
Defines
a label for a form control
|
<legend>
|
Defines
a title in a fieldset
|
<li>
|
Defines
a list item
|
<link>
|
Defines
a resource reference
|
<map>
|
Defines
an image map
|
<mark>
|
Defines
marked text
|
<menu>
|
Defines
a menu list
|
<meta>
|
Defines
meta information
|
<meter>
|
Defines
measurement within a predefined range
|
<nav>
|
Defines
navigation links
|
<noframes>
|
Not
supported in HTML5
|
<noscript>
|
Defines
a noscript section
|
<object>
|
Defines
an embedded object
|
<ol>
|
Defines
an ordered list
|
<optgroup>
|
Defines
an option group
|
<option>
|
Defines
an option in a drop-down list
|
<output>
|
Defines
some types of output
|
<p>
|
Defines
a paragraph
|
<param>
|
Defines
a parameter for an object
|
<pre>
|
Defines
preformatted text
|
<progress>
|
Defines
progress of a task of any kind
|
<q>
|
Defines
a short quotation
|
<rp>
|
Used
in ruby annotations to define what to show browsers that to not support the
ruby element.
|
<rt>
|
Defines
explanation to ruby annotations.
|
<ruby>
|
Defines
ruby annotations.
|
<s>
|
Represents
content that is no longer accurate or no longer relevant
|
<samp>
|
Defines
sample computer code
|
<script>
|
Defines
a script
|
<section>
|
Defines
a section
|
<select>
|
Defines
a selectable list
|
<small>
|
Defines
small text
|
<source>
|
Defines
media resources
|
<span>
|
Defines
a section in a document
|
<strike>
|
Not
supported in HTML5
|
<strong>
|
Defines
strong text
|
<style>
|
Defines
a style definition
|
<sub>
|
Defines
subscripted text
|
<summary>
|
Defines
the header of a "detail" element
|
<sup>
|
Defines
superscripted text
|
<table>
|
Defines
a table
|
<tbody>
|
Defines
a table body
|
<td>
|
Defines
a table cell
|
<textarea>
|
Defines
a text area
|
<tfoot>
|
Defines
a table footer
|
<th>
|
Defines
a table header
|
<thead>
|
Defines
a table header
|
<time>
|
Defines
a date/time
|
<title>
|
Defines
the document title
|
<tr>
|
Defines
a table row
|
<track>
|
Enables
supplementary media tracks such as subtitle tracks and caption tracks to be
specified for audio and video elements.
|
<tt>
|
Not
supported in HTML5
|
<u>
|
Defines
a span of text offset from its surrounding content without conveying any
extra emphasis or importance
|
<ul>
|
Defines
an unordered list
|
<var>
|
Defines
a variable
|
<video>
|
Defines
a video
|
<wbr>
|
Defines
a possible line-break
|
<xmp>
|
Not
supported in HTML5
|
HTML5
Integrated APIs
HTML5 has
incorporated several new APIs, including:
§ Video and Audio API
§ Inline Editing API
§ Offline Application API
§ History API
§ Web Protocol API
§ Drag & Drop API
HTML5
Associated APIs
HTML5 has
several new associated APIs, including:
§ Geolocation API
§ 2D Canvas Drawing API
§ Local Storage API
§ Web Workers API
§ Web Sockets API
§ Messaging API