Main Index |
Top Of Tree |
Tag Index |
Tag History
- What is it?
- The Unordered List element represents a list of items in which
order is not necessarily important. Typical rendering is a bulleted list
of items. Many browsers may change the appearance of the bullet when the
list is nested in another list. The only content of this list structure
is the <li> (list item) element. As
with other list content tags, the closing
</li> element is optional, as it
is implied by the subsequent <li> or
end </ul> tags.
- Attributes
- Type
- 2 | 3
| 3.2 | IE
| M | N1.1
- Required? No
- Description:
The Type attribute indicates a different labeling scheme to be used
instead of the default bullet.
- Values:
disc
[solid bullet - DEFAULT]
square [solid square]
circle [hollow bullet.]
Style Sheet Attributes
[More on Cascading Style Sheets]
- Class
- 2 | 3
| 3.2 | IE3B1
| M | N4B2
- Required? No
- Description:
This represents an assigned semantic classification grouping(s) for the
current tag.
- Values:
Given as a comma separated list of alphanumeric characters. Class names
may contain spaces (multiple consecutive spaces treated as a single
space.)
- ID
- 2 | 3
| 3.2 | IE3B1
| M | N4B2
- Required? No
- Description:
This assigns an alpha-numeric identifier that is unique
to this tag instance. Style sheets may use this attribute to reference
the current instance of this tag. Hyperlinks may also use this identifier
to serve as a destination.
- Values:
An alphanumeric string - initial character must be a letter followed
by alphabetic characters, digits, "-" or "."
characters. The allowable set of alpha-characters is restricted to the
A-Z and a-z set.
- Style
- 2 | 3
| 3.2 | IE3B1
| M | N4B3
- Required? No
- Description:
This attribute is a text string that provides rendering style
information for the current tag.
- Values:
Please see the description of
inline styles for more
information on how to use this attribute and its
possible values.
- Example
- <ul TYPE="square">
<li>First list item
<li>Second list item
<li>Third list item
</ul>
- Parent Model
- %Block Format
Parent% |
%Multimedia
Parent% |
<basefont> |
<body>
- Content Model
- <li>
Tips & Tricks
- Some people leverage on a behavioral defect in browsers whereby
embedding plain data in a list structure without LI tags will induce
indentation. This is illegal HTML and not recommended. Other methods
can be used to generally guarantee indentation.
- Changing the font attributes (size, color, etc.) of the contents
of a List Item will not affect the appearance of the listing mechanism
(bullets.)
- Lists are nestable.
Browser Peculiarities
- Internet Explorer, Mosaic and Netscape all produce the above described
indenting behavior for the mentioned invalid HTML.
- Both Internet Explorer and Netscape alter the listing mechanism (the
bullets) if a font changing tag (e.g. FONT SIZE) spans a list structure
or if it is placed incorrectly before the first LI tag.
Boring Copyright Stuff...