HTML and CSS Reference
In-Depth Information
HTML 2, 3.2, 4, 4.01, 5
XHTML 1.0, 1.1, Basic
Firefox 1+, Internet Explorer 2+,
Netscape 1+, Opera 4+, Safari 1+
• As a logical element, samp is useful to bind style rules to.
• The HTML 2.0 and 3.2 specifications support no attributes for this element.
<script> (Scripting)
This element encloses statements in a scripting language for client-side processing. Scripting
statements can either be included inline or loaded from an external file and might be
commented out to avoid execution by browsers that are not scripting-aware.
Standard Syntax
charset="character set"
id="unique alphanumeric identifier"
language="scripting language name"
src="URL of script code"
type="mime type"
Attributes Introduced by HTML5
accesskey="spaced list of accelerator key(s)"
class="class name(s)"
data-X="user-defined data"
contenteditable="true | false | inherit"
contextmenu="id of menu"
dir="ltr | rtl"
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"
lang="language code"
spellcheck="true | false"
style="style information"
title="advisory text"
Attributes Defined by Internet Explorer
event="event name" (3)
for="element id" (3)
lang="language to use"
Search WWH ::

Custom Search