HTML and CSS Reference
In-Depth Information
• The html element is the first element in a document. Except for comments, the only
tags it directly contains are <head> followed by either <body> or <frameset> .
• Because it is the outermost tag in a document, the html element is called the root
• The <html> tag and its closing tag </html> are both mandatory under XHTML.
Under other specifications, including HTML5, the element is actually optional
because it is implied unless a comment is found as the first item within the
<i> (Italic)
This element indicates that the enclosed text should be displayed in an italic typeface.
Standard Syntax
class="class name(s)"
dir="ltr | rtl"
id="unique alphanumeric identifier"
lang="language code"
style="style information"
title="advisory text">
Attributes Introduced by HTML5
accesskey="spaced list of accelerator key(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"
spellcheck="true | false"
Attributes Defined by Internet Explorer
accesskey="key" (5.5)
contenteditable="false | true | inherit" (5.5)
disabled="false | true" (5.5)
hidefocus="true | false" (5.5)
language="javascript | jscript | vbs | vbscript" (4)
tabindex="number" (5.5)
unselectable="off | on" (5.5)
Search WWH ::

Custom Search