HTML and CSS Reference
In-Depth Information
HTML 2, 3.2, 4, 4.01, 5
XHTML 1.0, 1.1
Firefox 1+, Internet Explorer 2+,
Netscape 1+, Opera 4+, Safari 1+
• The HTML 4.01 strict and HTML5 specifications remove support for the align ,
noshade , size , and width attributes for horizontal rules. These effects are possible
using style sheets.
• As an empty element under XHTML or when using XML-style syntax for HTML5, a
trailing slash is required for this element: <hr /> .
<html> (HTML Document)
This element identifies an HTML or XHTML document.
Standard Syntax
dir="ltr | rtl"
id="unique alphanumeric identifier"
lang="language code"
xmlns=" | some other name space">
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"
spellcheck="true | false"
style="style information"
title="advisory text"
Attributes Defined by Internet Explorer
class="class name(s)" (4)
scroll="yes | no | auto" (6)
version="version info" (6)
Search WWH ::

Custom Search