HTML and CSS Reference
In-Depth Information
7.3.1.3. The style and class attributes
The
style
attribute for the
<li>
tag creates an inline style for the ele-
ments enclosed by the tag, overriding any other style rule in effect. The
class
attribute lets you format the content according to a predefined
7.3.1.4. The class, dir, id, lang, event, style, and title attributes
You can apply these attributes to individual list items; they have similar
effects for ordered and unordered lists. [
The class and style attributes,