This is a paragraph before an unnumbered list (ul
). Note that the spacing between a paragraph and a list before or after that is hard to tune in a user style sheet. You can't guess which paragraphs are logically related to a list, e.g. as a "list header".
The following is a menu
list:
The following is a dir
list:
This is a paragraph before a numbered list (ol
). Note that the spacing between a paragraph and a list before or after that is hard to tune in a user style sheet. You can't guess which paragraphs are logically related to a list, e.g. as a "list header".
This is a paragraph before a definition list (dl
). In principle, such a list should consist of terms and associated definitions. But many authors use dl
elements for fancy "layout" things. Usually the effect is not too bad, if you design user style sheet rules for dl
which are suitable for real definition lists.
<ul style='list-style-type: none'>
<ul style='list-style-type: disc'>
<ul style='list-style-type: circle'>
<ul style='list-style-type: square'>
<ul style='list-style-type: triangle'>
ol : ordered list
<ol style='list-style-type: decimal'>
<ol style='list-style-type: decimal-leading-zero'>
<ol style='list-style-type: lower-alpha'>
<ol style='list-style-type: lower-latin'>
<ol style='list-style-type: upper-alpha'>
<ol style='list-style-type: upper-latin'>
<ol style='list-style-type: lower-roman'>
<ol style='list-style-type: upper-roman'>
<ol style='list-style-type: lower-greek'>
<ol style='list-style-type: armenian'>
<ol style='list-style-type: georgian'>
<ol style='list-style-type: hebrew'>
<ol style='list-style-type: hiragana'>
<ol style='list-style-type: hiragana-iroha'>
<ol style='list-style-type: katakana'>
<ol style='list-style-type: katakana-iroha'>
<ol start='100'>
```
<ol start='100'>
<li>France</li>
<li>Mexique</li>
<li>Allemagne</li>
<li>Russie</li>
<li>U.S.A.</li>
</ol>
```html
<ol reversed>
```
<ol reversed>
<li>France</li>
<li>Mexique</li>
<li>Allemagne</li>
<li>Russie</li>
<li>U.S.A.</li>
</ol>
```html
<ol>
```
<ol>
<li value='2'>France</li>
<li value='6'>Mexique</li>
<li value='4'>Allemagne</li>
<li value='7'>Russie</li>
<li>U.S.A.</li>
</ol>
<a href="listes/liste-ord-roman.html"></a>
</body>
</html>