%Core% Attributes
= Index DOT Html by Brian Wilson =

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


What are the Core Attributes?
These attributes primarily allow the attachment of rendering information to HTML documents. They facilitate the binding or identification of an HTML structure, so that an element (or group of elements) may be controlled by a non-HTML mechanism (such as the DOM through Javascript or with CSS.)

This attribute category directly draws its inspiration from a Parameter Entity category defined in HTML 4.x called "%coreattrs". This category includes the CLASS, ID, and STYLE attributes, but it also includes the TITLE attribute as well. I moved global TITLE attribute to its own category called %accessibility% along with ACCESSKEY, DISABLED and TABINDEX, where they all seem to more appropriately belong as a group.
Style Sheet Attributes
Class
[2|3|3.2|4] [X1|X1.1] [IE3B1|N4B2|O3.5|S1]
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] [X1|X1.1] [IE3B1|N4B2|O3.5|S1]
Required? No
Description:
This assigns a unique alpha-numeric identifier for referencing the current element. No other ID attribute in the current document may share the same identifier. IDs are used in many contexts in HTML, such as: Hyperlinks may use this identifier to serve as a destination of a link, scripts may use them to uniquely identify an element for some programmatic purpose, or style sheets may use this attribute to reference the current element instance.
Values:
A string of characters - the 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] [X1|X1.1] [IE3B1|N4B3|O3.5|S1]
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].
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...