An unordered list:
An ordered list:
A definition list:
The following ordered list should start at #50 (uses the start attribute on the <ol>) and the third item should be #60 (uses the value attribute on the <li>):
Here is a test of the type attribute in a <ul>:
|
|
|
Here is a test of the type attribute in a <ol>:
|
|
|
|
|
The following example shows mixed list types:
The following example uses CSS to define the list-style-image property on the list items. Instead of a disc, an image should be displayed to the left of the text "List item." The image looks like the character "x."
In this example, the same style is applied to the parent <ul> element, where it should be inherited by the list items.