![]() |
|
<ul>
![]() |
![]() |
||||||||||||||||||||||||||||||||||||||||||||
Presents a list of items in an ordered fashion. Each item in the list is identified by the <li> tag.
"The WebTV interface implements this tag somewhat differently than as defined by HTML 2.0. The WebTV interface inserts a blank line before the first list item and another blank line after the last list item." (WebTV 1.2 DTD)
| align= | specifies the horizontal alignment of the list (not its contents). It is interestng that this attribute was proposed considering that lists are normally part of the flowing text and not a segregated part of the text. Segregated lists would normally be put inside a graphic or a table to provide isolation from adjacent text. It was proposed as part of a HTML working draft so it is presented here. The argument descriptions are taken from table descriptions since no text was available with the "align=" attribute as part of the <ul> tag. (w3) | |||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| center | the table is centered between the text margins and text flow around the table is disabled. This is the default setting for ALIGN. (w3)
<ul align="center"> <lh>heading <li>first item <li>second item <li>third item </ul>
|
|||||||||||||||||||||||||||||||
| justify | When applicable, the table should be sized top fill the space between the left and right text margins. Text flow around the table is disabled for align="justify." (w3)
<ul align="justify"> <lh>heading <li>first item <li>second item <li>third item </ul>
|
|||||||||||||||||||||||||||||||
| left | flush left with the left text margin (w3) (IExplore)
<ul align="left"> <lh>heading <li>first item <li>second item <li>third item </ul>
|
|||||||||||||||||||||||||||||||
| right | flush right with the right text margin (w3) (IExplore)
<ul align="right"> <lh>heading <li>first item <li>second item <li>third item </ul>
|
|||||||||||||||||||||||||||||||
| decimal | text lines are indented such that the first occurrence of a decimal point on each line are aligned vertically. If a line doesn't contain a decimal point, the line is rendered flush left for data cells and centered for header cells.
<ul align="decimal"> <lh>heading <li>$2,345.96 <li>$921.00 <li>$65,365.21 </ul>
|
|||||||||||||||||||||||||||||||
class=
|
||||||||||||||||||||||||||||||||
clear=
|
When there is already a figure or table in the margin, you sometimes want to position another figure below the figure in the margin rather than alongside it. The CLEAR attribute allows you to move down unconditionally: (w3)
Alternatively, you can decide to place the figure alongside the figure in the margin just so long as there is enough room. The minimum width needed is specified as ## en where ##="the" number of nutts or ### pixels where ### is the number of pixels. |
|||||||||||||||||||||||||||||||
left
|
move down until left margin is clear (w3) | |||||||||||||||||||||||||||||||
right
|
move down until right margin is clear (w3) | |||||||||||||||||||||||||||||||
all
|
move down until both margins are clear (w3) | |||||||||||||||||||||||||||||||
## en
|
move down until there is at least 40 en units free (w3) | |||||||||||||||||||||||||||||||
### pixels
|
move down until there is at least 100 pixels free (w3) | |||||||||||||||||||||||||||||||
compact
|
the compact attribute is used to remove unnecessary white space. Some browsers will insert white space between definition items, this attribute will discourage this. Most browsers do not recognize it. | |||||||||||||||||||||||||||||||
dingbat=
|
this allows the author to specify a standard icon (see ICONS above) or a dingbat in place of the default bullet. (Dianne Gorman) | |||||||||||||||||||||||||||||||
dir=
|
||||||||||||||||||||||||||||||||
| ltr | ||||||||||||||||||||||||||||||||
| rtl | ||||||||||||||||||||||||||||||||
id=
|
||||||||||||||||||||||||||||||||
index=
|
||||||||||||||||||||||||||||||||
lang=
|
list of language codes list of country codes |
|||||||||||||||||||||||||||||||
md=
|
This attribute specifies the message digest or chyptographic checksum (MD5 in base 64). The MD attribute is generally allowed for all elements which support URI based links. | |||||||||||||||||||||||||||||||
plain
|
causes the browser to supress the display of bullets (Dianne Gorman) | |||||||||||||||||||||||||||||||
src=
|
this attribute substitutes the default bullet for the image (*.gif or *.jpg) stipulated. (Dianne Gorman) | |||||||||||||||||||||||||||||||
style=
|
||||||||||||||||||||||||||||||||
title=
|
||||||||||||||||||||||||||||||||
type=
|
The basic bulleted list has a default progression of bullet types that changes through the indents. The type tag allows you to change the progression. | |||||||||||||||||||||||||||||||
disc
|
changes the default to a disc | |||||||||||||||||||||||||||||||
circle
|
changes the default to a circle
"The WebTV interface implements this attribute somewhat differently than as defined by Netscape Navigator. The WebTV interface renders TYPE=circle as a triangle." (WebTV 1.2 DTD) |
|||||||||||||||||||||||||||||||
square
|
changes the default to a square | |||||||||||||||||||||||||||||||
wrap=
|
causes the list to wrap to the next column or the next line. (Dianne Gorman) | |||||||||||||||||||||||||||||||
vert
|
causes the list of items to go down the screen an wrap to the next column. | |||||||||||||||||||||||||||||||
horiz
|
the items go across the screen and then wrap around to the next line. | |||||||||||||||||||||||||||||||
| none | this forces no wrapping of the list. It just goes down the page, for ever. | |||||||||||||||||||||||||||||||