HTML and CSS Reference
In-Depth Information
contextmenu="id of menu"
data-X="user-defined data"
draggable="true | false | auto"
hidden="hidden"
itemid="microdata id in URL format"
itemprop="microdata value"
itemref="space-separated list of IDs that may contain microdata"
itemscope="itemscope"
itemtype="microdata type in URL format"
spellcheck="true | false"
tabindex="number"
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
Event Defined by Internet Explorer
onlayoutcomplete
Element-Specific Attributes
charset
This HTML5 attribute is used to set the character encoding for the document like
“UTF-8”. This approach is an alternative to using the
http-equiv
method currently
employed.
content
This attribute contains the actual meta-information. The form of the meta-information
varies greatly, depending on the value set for
name
.
http-equiv
This attribute binds the meta-information in the
content
attribute to an
equivalent HTTP response header. If this attribute is present, the
name
attribute should not
be used.
name
This attribute associates a name with the meta-information contained in the
content
attribute. If the
name
attribute is present, the
http-equiv
attribute should not
be used.
scheme
The
scheme
attribute is used to indicate the expected format of the value of the
content
attribute. The particular scheme also can be used in conjunction with the metadata
profile, as indicated by the
profile
attribute for the
head
element. This attribute is not
currently defined for inclusion in HTML5.