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
Required? No
Description:
This attribute serves to classify the current element by assigning it a
single label or group of 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.
Applicable Tags:
?? | ??
ID
2 | 3
| 3.2 | 4
| IE3B1 | M
| N4B2
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.
Applicable Tags:
?? | ??
Style
2 | 3
| 3.2 | 4
| IE3B1 | M
| N4B3
Required? No
Description:
This attribute is a text string providing rendering information for the
current element.
Values:
Please see the description of
inline styles for more
information on how to use this attribute and its
possible values.
Applicable Tags:
?? | ??
Accessibility Attributes
Title
2 | 3
| 3.2 | 4
| IE4B1 | M
| N
Required? No
Description:
This attribute is used to give further information regarding the
contents of an element. Interactive elements such as hyperlinks,
images, or a 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.