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
class of the <li> tag; its value is the name of that class. [ Inline Styles:
The style Attribute, 8.1.1 ] [ Style Classes, 8.3 ]
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,
4.1.1.6 ] [ The lang and dir attributes, 6.3.1.7 ] [ The id and title attrib-
utes, 7.1.1.5 ] [ The event attributes, 6.3.1.4 ]
 
Search WWH ::




Custom Search