Listes

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:

  • One.
  • Two.
  • Three. Well, probably this list item should be longer so that it will probably wrap to the next line in rendering.
  • The following is a dir list:

  • One.
  • Two.
  • Three. Well, probably this list item should be longer so that it will probably wrap to the next line in rendering.
  • 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".

    1. One.
    2. Two.
    3. Three. Well, probably this list item should be longer. Note that if items are short, lists look better if they are compactly presented, whereas for long items, it would be better to have more vertical spacing between items.
    4. Four. This is the last item in this list. Let us terminate the list now without making any more fuss about it.

    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 dlwhich are suitable for real definition lists.

    recursion
    see recursion
    recursion, indirect
    see indirect recursion
    indirect recursion
    see recursion, indirect
    term
    a word or other expression taken into specific use in a well-defined meaning, which is often defined rather rigorously, even formally, and may differ quite a lot from an everyday meaning
    <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'>

    Listes ordonnées

    ol : ordered list

    <ol style='list-style-type: decimal'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.
    <ol style='list-style-type: decimal-leading-zero'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.
    <ol style='list-style-type: lower-alpha'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.
    <ol style='list-style-type: lower-latin'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.
    <ol style='list-style-type: upper-alpha'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.
    <ol style='list-style-type: upper-latin'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.

    Romain

    <ol style='list-style-type: lower-roman'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.
    <ol style='list-style-type: upper-roman'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.
    <ol style='list-style-type: lower-greek'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.
    <ol style='list-style-type: armenian'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.
    <ol style='list-style-type: georgian'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.
    <ol style='list-style-type: hebrew'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.

    Japonais

    <ol style='list-style-type: hiragana'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.
    <ol style='list-style-type: hiragana-iroha'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.
    <ol style='list-style-type: katakana'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.
    <ol style='list-style-type: katakana-iroha'>
    1. France
    2. Mexique
    3. Allemagne
    4. Russie
    5. U.S.A.
    <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>