XHTML Common Attributes and Events
The following six attributes are abbreviated as core in the preceding sections:
id="id"
A global identifier.
class="styleclasses"
A list of classes separated by spaces.
style="styles"
Style information.
title="title"
Provides more information for a specific element, as opposed to the <title> element, which titles the entire Web page.
accesskey="shortcut"
Sets the keyboard shortcut used to access an element.
tabindex="taborder"
Sets the tab order of an element.
The following two attributes for internationalization are abbreviated as i18n in the preceding sections:
The following intrinsic events are abbreviated events:
onclick="eventcode"
A pointing device (such as a mouse) was single-clicked.
ondblclick="eventcode"
A pointing device (such as a mouse) was double-clicked.
onmousedown="eventcode"
A mouse button was clicked and held down.
onmouseup="eventcode"
A mouse button that was clicked and held down was released.
onmouseover="eventcode"
A mouse moved the cursor over an object.
onmousemove="eventcode"
The mouse was moved.
onmouseout="eventcode"
A mouse moved the cursor off an object.
onkeypress="eventcode"
A key was pressed and released.
onkeydown="eventcode"
A key was pressed and held down.
onkeyup="eventcode"
A key that was pressed has been released.
|