html5 referentie pagina
alle html5 items overzichtelijk op een pagina

home | index | menu | help

Er is geen CSS ondersteuning.



		

HTML5 Tag Referentie

TagOmschrijving
<!--...-->Defines a comment
<!DOCTYPE> Defines the document type
<a>Defines a hyperlink
<abbr>Defines an abbreviation
<acronym>Verouderd: geen support meer in HTML5.
<address>Defines an address element
<applet>Verouderd: geen support meer in HTML5.
<area>Defines an area inside an image map
<article>   nieuwDefines an article
<aside>   nieuwDefines content aside from the page content
<audio>   nieuwDefines sound content
<b>Defines bold text
<base>Defines a base URL for all the links in a page
<basefont>Verouderd: geen support meer in HTML5.
<bdo>Defines the direction of text display
<big>Verouderd: geen support meer in HTML5.
<blockquote>Defines a long quotation
<body>Defines the body element
<br>Inserts a single line break
<button>Defines a push button
<canvas>   nieuwDefines graphics
<caption>Defines a table caption
<center>Verouderd: geen support meer in HTML5.
<cite>Defines a citation
<code>Defines computer code text
<col>Defines attributes for table columns 
<colgroup>Defines groups of table columns
<command>   nieuwDefines a command button
<datalist>   nieuwDefines a dropdown list
<dd>Defines a definition omschrijving
<del>Defines deleted text
<details>   nieuwDefines details of an element
<dfn>Defines a definition term
<dir>Verouderd: geen support meer in HTML5.
<div>Defines a section in a document
<dl>Defines a definition list
<dt>Defines a definition term
<em>Defines emphasized text 
<embed>   nieuwDefines external interactive content or plugin
<fieldset>Defines a fieldset
<figcaption>   nieuwDefines the caption of a figure element
<figure>   nieuwDefines a group of media content, and their caption
<font>Verouderd: geen support meer in HTML5.
<footer>   nieuwDefines a footer for a section or page
<form>Defines a form 
<frame>Verouderd: geen support meer in HTML5.
<frameset>Verouderd: geen support meer in HTML5.
<h1> to <h6> Defines header 1 to header 6
<head>Defines information about the document
<header>   nieuwDefines a header for a section or page
<hgroup>   nieuwDefines 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>   nieuwDefines 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 referentie
<map>Defines an image map 
<mark>   nieuwDefines marked text
<menu>Defines a menu list
<meta>Defines meta information
<meter>   nieuwDefines measurement within a predefined range
<nav>   nieuwDefines navigation links
<noframes>Verouderd: geen support meer 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>   nieuwDefines some types of output
<p>Defines a paragraph
<param>Defines a parameter for an object
<pre>Defines preformatted text
<progress>   nieuwDefines progress of a task of any kind
<q>Defines a short quotation
<rp>   nieuwUsed in ruby annotations to define what to show browsers that to not support the ruby element.
<rt>   nieuwDefines explanation to ruby annotations.
<ruby>   nieuwDefines ruby annotations.
<s>Verouderd: geen support meer in HTML5.
<samp>Defines sample computer code
<script>Defines a script
<section>   nieuwDefines a section
<select>Defines a selectable list
<small>Defines small text
<source>   nieuwDefines media resources
<span>Defines a section in a document
<strike>Verouderd: geen support meer in HTML5.
<strong>Defines strong text
<style>Defines a style definition
<sub>Defines subscripted text
<summary>   nieuwDefines 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>   nieuwDefines a date/time
<title>Defines the document title
<tr>Defines a table row
<tt>Verouderd: geen support meer in HTML5.
<u>Verouderd: geen support meer in HTML5.
<ul>Defines an unordered list
<var>Defines a variable
<video>   nieuwDefines a video
<xmp>Verouderd: geen support meer in HTML5.

HTML5 standaard attributen

AttribuutWaardeOmschrijving
accesskeycharacterSpecifies a keyboard shortcut to access an element.
classclassnameSpecifies a classname for an element (used to specify a class in a style sheet).
contenteditable   nieuwtrue
false
Specifies if the user is allowed to edit the content or not.
contextmenu   nieuwmenu_idSpecifies the context menu for an element.
data-yourvalue   nieuwvalueAuthor defined attributes. Authors of a HTML document can define their own attributes. Must start with "data-".
dirltr
rtl
Specifies the text direction for the content in an element.
draggable   nieuwtrue
false
auto
Specifies whether or not a user is allowed to drag an element.
hidden   nieuwhiddenSpecifies that the element is not relevant. Hidden elements are not displayed.
ididSpecifies a unique id for an element.
item   nieuwempty
url
Used to group elements.
itemprop   nieuwurl
group value
Used to group items.
langlanguage_codeSpecifies a language code for the content in an element.../tags/ref_language_codes.asp">Language code referentie
spellcheck   nieuwtrue
false
Specifies if the element must have it`s spelling or grammar checked.
stylestyle_definitionSpecifies an inline style for an element.
subject   nieuwidSpecifies the element`s corresponding item.
tabindexnumberSpecifies the tab order of an element.
titletextSpecifies extra information about an element.

HTML5 event attributen

Window event attributen

Van toepassing op de <body> tag:

AttribuutWaardeOmschrijving
onafterprint   nieuwscriptScript is running after the document is printed
onbeforeprint   nieuwscriptScript is running before the document is printed
onbeforeonload   nieuwscriptScript is running before the document loads
onblurscriptScript is running when the window loses focus
onerror   nieuwscriptScript is running when an error occur
onfocusscriptScript is running when the window gets focus
onhashchange   nieuwscriptScript is running when the document hash changes
onloadscriptScript is running when the document loads
onmessage   nieuwscriptScript is running when the message is triggered
onoffline   nieuwscriptScript is running when the document goes offline
ononline   nieuwscriptScript is running when the document comes online
onpagehide   nieuwscriptScript is running when the window is hidden
onpageshow   nieuwscriptScript is running when the window becomes visible
onpopstate   nieuwscriptScript is running when the window`s history changes
onredo   nieuwscriptScript is running when the document performs a redo
onresize   nieuwscriptScript is running when the window is resized
onstorage   nieuwscriptScript is running when a document loads
onundo   nieuwscriptScript is running when a document performs an undo
onunload   nieuwscriptScript is running when the user leaves the document

Form Events

Van toepassing op alle HTML5 elementen, maar wordt meestal gebruikt in forms:

AttribuutWaardeOmschrijving
onblurscript Script is running when an element loses focus
onchangescriptScript is running when an element changes
oncontextmenu   nieuwscript Script is running when a context menu is triggered
onfocusscript Script is running when an element gets focus
onformchange   nieuwscript Script is running when a form changes
onforminput   nieuwscript Script is running when a form gets user input
oninput   nieuwscript Script is running when an element gets user input
oninvalid   nieuwscript Script is running when an element is invalid
onresetscript Script is running when a form is reset
Verouderd: geen support meer in HTML5.
onselectscript Script is running when an element is selected
onsubmitscriptScript is running when a form is submitted

Keybord Events

Van toepassing op alle HTML5 elementen.

AttribuutWaardeOmschrijving
onkeydownscript Script is running when a key is pressed
onkeypressscript Script is running when a key is pressed and released
onkeyupscript Script is running when a key is released

Media Events

Van toepassing op alle HTML5 elementen, maar wordt meestal gebruikt met media elementen, zoals.. audio, embed, img, object, and video:

AttribuutWaardeOmschrijving
onabortscript Script is running on an abort event
oncanplay   nieuwscriptScript is running when media can start play, but might has to stop for buffering
oncanplaythrough   nieuwscriptScript is running when media can be played to the end, without stopping for buffering
ondurationchange   nieuwscript Script is running when the length of the media is changed
onemptied   nieuwscript Script is running when a media resource element suddenly becomes empty (network errors, errors on load etc.)
onended   nieuwscript Script is running when media has reach the end
onerror   nieuwscript Script is running when an error occurs during the loading of an element
onloadeddata   nieuwscriptScript is running when media data is loaded
onloadedmetadata   nieuwscriptScript is running when the duration and other media data of a media element is loaded
onloadstart   nieuwscriptScript is running when the browser starts to load the media data
onpause   nieuwscript Script is running when media data is paused
onplay   nieuwscript Script is running when media data is going to start playing
onplaying   nieuwscript Script is running when media data has start playing
onprogress   nieuwscript Script is running when the browser is fetching the media data
onratechange   nieuwscript Script is running when the media data`s playing rate has changed
onreadystatechange   nieuwscript Script is running when the ready-state changes
onseeked   nieuwscript Script is running when a media element`s seeking attribute is no longer true, and the seeking has ended
onseeking   nieuwscript Script is running when a media element`s seeking attribute is true, and the seeking has begun
onstalled   nieuwscript Script is running when there is an error in fetching media data (stalled)
onsuspend   nieuwscriptScript is running when the browser has been fetching media data, but stopped before the entire media file was fetched
ontimeupdate   nieuwscriptScript is running when media changes its playing position
onvolumechange   nieuwscriptScript is running when media changes the volume, also when volume is set to "mute"
onwaiting   nieuwscriptScript is running when media has stopped playing, but is expected to resume

Mouse Events

Van toepassing op alle HTML5 elementen.

AttribuutWaardeOmschrijving
onclickscript Script is running on a mouse click
ondblclickscript Script is running on a mouse double-click
ondrag   nieuwscript Script is running when an element is dragged
ondragend   nieuwscript Script is running at the end of a drag operation
ondragenter   nieuwscript Script is running when an element has been dragged to a valid drop target
ondragleave   nieuwscript Script is running when an element leaves a valid drop target
ondragover   nieuwscript Script is running when an element is being dragged over a valid drop target
ondragstart   nieuwscript Script is running at the start of a drag operation
ondrop   nieuwscript Script is running when dragged element is being dropped
onmousedownscript Script is running when a mouse button is pressed
onmousemovescript Script is running when the mouse pointer moves
onmouseoutscriptScript is running when the mouse pointer moves out of an element
onmouseoverscriptScript is running when the mouse pointer moves over an element
onmouseupscript Script is running when a mouse button is released
onmousewheel   nieuwscript Script is running when the mouse wheel is being rotated
onscroll   nieuwscript Script is running when an element`s scrollbar is being scrolled

cache 13-05-2011