HTML and CSS Reference
In-Depth Information
• It is not appropriate to associate an image map with an <img> tag that appears as
the content of a button element.
• HTML5 may eventually add new values to the type attribute. Already many new
type values have been proposed in different forums, such as add , remove , move-up ,
and move-down . These may produce predefined button styles, including icons in
some user agents, but so far their inclusion is far from certain.
• The HTML 4.01 specification reserves the data-binding attributes datafld ,
dataformatas , and datasrc for future use. Internet Explorer does support them.
• The default type of a <button> is submit under Internet Explorer 8's standards
mode, and is button under IE 8's compatibility mode.
• Under Internet Explorer 8, the value of a submitted button depends on the
compatibility mode of the browser. In IE 8 standards mode, the contents of the
attribute value is sent, as compared to IE 8 compatibility mode, where the
innerText value of the <button> tag used is sent.
<canvas> (Canvas for Drawing)
This element defines a region in the document to be used as a bitmap canvas where script
code can be used to render graphics interactively. It should be noted that the markup syntax
of this element is a relatively minor portion of what is required to effectively utilize the
drawing technology found within.
HTML5 Standard Syntax
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"
Search WWH ::

Custom Search