HTML and CSS Reference
In-Depth Information
• The strict definitions of HTML 4 and XHTML do not include support for the align
attribute. Style sheet properties like text-align should be used instead.
• Under HTML5, these heading elements are used to form an outline of the document.
<head> (Document Head)
This element indicates the document head, which contains descriptive information about
the HTML document as well as other supplementary information, such as style rules or
Standard Syntax
dir="ltr | rtl"
lang="language code"
title, base, script, style, meta, link and object elements
Attributes Introduced by HTML5
accesskey="spaced list of accelerator key(s)"
class="class name(s)"
contenteditable="true | false | inherit"
contextmenu="id of menu"
data-X="user-defined data"
draggable="true | false | auto"
itemid="microdata id in URL format"
itemprop="microdata value"
itemref="space-separated list of IDs that may contain microdata"
itemtype="microdata type in URL format"
id="unique alphanumeric identifier"
spellcheck="true | false"
Attributes Defined by Internet Explorer
id="unique alphanumeric identifier"
class="class name(s)"
HTML5 Event Attributes
onabort, onblur, oncanplay, oncanplaythrough, onchange, onclick,
oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave,
ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended,
onerror, onfocus, onformchange, onforminput, oninput, oninvalid, onkeydown,
onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart,
onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel,
onpause, onplay, onplaying, onprogress, onratechange, onreadystatechange,
onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit,
onsuspend, ontimeupdate, onvolumechange, onwaiting
Search WWH ::

Custom Search