%Core% Attributes
= Index DOT Html by Brian Wilson [bloo@blooberry.com] =

Main Index | Element Tree | Element Index | HTML Support History


What are the Core Attributes?
These attributes allow attachment of rendering and accessibility information to most of the elements used in document rendering. The TITLE attribute allows descriptive narrative information to be attached to elements (which are not necessarily rendered) while Style Sheet attributes facilitate attachment of rendering rules to displayed elements.
Style Sheet Attributes
Class
2 | 3 | 3.2 | 4 | IE3B1 | M | N4B2 | O3.5
Required? No
Description:
This attribute serves to classify the current element by assigning it one or more category labels to which the element belongs. Such grouping mechanisms ease in the assignment of rendering characteristics for groups of elements.
Values:
Given as a space separated list of class names consisting of alphanumeric characters.
ID
2 | 3 | 3.2 | 4 | IE3B1 | M | N4B2 | O3.5
Required? No
Description:
This assigns a unique alpha-numeric identifier for referencing the current element. No other ID or NAME attribute in the current document may share the same identifier. Hyperlinks may use this identifier to serve as a destination of a link, or style sheets may use this attribute to reference the current element instance.
Values:
An alphanumeric string - initial character must be in the [a-zA-Z] set, while subsequent characters can be in the [a-zA-Z0-9.-] set.
Style
2 | 3 | 3.2 | 4 | IE3B1 | M | N4B3 | O3.5
Required? No
Description:
This attribute is a text string providing rendering information for the current element.
Values:
Please see the description of inline styles [-->Index DOT Css] for more information on how to use this attribute and its possible values [-->Index DOT Css].

Accessibility Attributes
Accesskey
2 | 3 | 3.2 | 4 | IE4 | M | N | O
Required? No
Description:
This is a method of giving access/focus to an active HTML element using a keyboard character. This is a common GUI paradigm also known as a "keyboard shortcut" or "keyboard accelerator" A single character is used as the value of this attribute. In addition, a platform-dependent key is usually used in combination with the ACCESSKEY character to access the functionality of the element.

In Internet Explorer 5.0, "non-active" elements (all elements listed except A, AREA, OBJECT and form field elements) can use an ACCESSKEY to give focus to an element if it also specifies a TABINDEX attribute/value.
Values:
A single, case-insensitive alphanumeric character from a browser's character set.
Tabindex
2 | 3 | 3.2 | 4 | IE4 | M | N | O
Required? No
Description:
"Tabbing" is a method of giving access/focus to an active HTML element using a standard keyboard sequence. All the active elements in a document can be cycled through using this sequence (ex: Windows TAB key.) The order of the active elements in this cycle is usually the order they occur in the document, but the TABINDEX attribute allows a different order to be established. The use of this attribute should create the following tabbing order cycle if the browser supports the attribute:
  1. Active elements using the TABINDEX attribute with positive integers are navigated first. Low values are navigated first.
  2. Active elements not specifying any TABINDEX attribute

Other constraints also apply:
Values: Positive or negative integers. IE 5.0 documentation lists a valid value range of -32767 to 32767.
Title
2 | 3 | 3.2 | 4 | IE4B1 | M | N | O
Required? No
Description:
This attribute is used to give further information regarding the contents of an element. Interactive elements such as hyperlinks, images, or form fields may use this attribute to inform the user about the nature of the resource, or to specify help information if requested by the user.

The methods used to render the content of this attribute for this should follow the standard guidelines for the system, but may vary between browsers and platforms. For instance, visual browsers will frequently display the title as a "tool tip" (a short message that appears when the pointing device pauses over an object). Audio user agents may speak the title information in a similar context.
Values: An alphanumeric string.
Browser Peculiarities
Boring Copyright Stuff...