HTML and CSS Reference
In-Depth Information
HTML5 Not currently supported by any browser, but addressed via a custom element.
• This element should contain content that is in the correct format unless the
datetime attribute is used. Of course, browsers aren't going to enforce this, but it is
important if you want correct HTML5 conformance.
• This element is not yet implemented in any browser. However, given that most
browsers can handle custom elements, it would be easy enough to simulate the idea
of it directly or use a <span> tag with a custom class.
<title> (Document Title)
This element encloses the title of an HTML document. It must occur within a document's
head element and must be present in all valid documents. There should be only a single
occurrence of this element. Meaningful titles are very important because they are used for
bookmarking a page, are occasionally used by browsers to label locally saved pages, and
are often used by search engines attempting to index the document.
Standard Syntax
dir="ltr | rtl"
lang="language code">
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"
dir="ltr | rtl"
draggable="true | false | auto"
id="unique alphanumeric identifier"
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"
lang="language code"
spellcheck="true | false"
style="style information"
title="advisory text"
Events Defined by HTML5
onabort, onblur, oncanplay, oncanplaythrough, onchange, onclick,
oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave,
Search WWH ::

Custom Search