HTML and CSS Reference
In-Depth Information
• The HTML 2.0 and 3.2 specifications support only the align , checked , maxlength ,
name , size , src , type , and value attributes for the input element.
• The HTML 4.01 specification also reserves the use of the datafld , dataformatas ,
and datasrc data-binding attributes. They were not included in the XHTML
specification but are supported by Internet Explorer.
• Use of autocomplete may have security implications. Use with caution.
• Under the strict HTML and XHTML specifications, the align attribute is not
• As an empty element under XHTML or when using XML-style syntax for HTML5,
a trailing slash is required for this element: <input /> .
• Safari running on the iPhone extends this element with autocorrect and
autocapitalize attributes. Given the difficulty of filling in forms on small-factor
devices, it is likely there may be other proprietary changes that are device specific.
<ins> (Inserted Text)
This element is used to indicate that text has been added to the document. Inserted text is
generally styled with an underline.
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"
Search WWH ::

Custom Search