rss

HTML - Lists and numbering


Lists

A list is a structured paragraph containing a series of items. HTML defines three types of lists:

Ordered Lists

Unordered List

Container Type of List Visual Effect
<ol>

<li> item 1 </li>

<li> item 2 </li>

</ol>

Ordered List
  1. item 1
  2. item 2
  3. item 3

Definition List

Container Type of List Visual Effect
<ul>

<li> item 1 </li>

<li> item 2 </li>

</ul>

Unordered
  • item 1
  • item 2
  • item 3

Attributes

There are several attributes used only for lists:

Container Type of List Visual Effect
<dl>

<dt>Term</dt>

<dd>Definition</dd>

</dl>

Definition
item 1
definition 1
item 2
definition 2
Attribute Value Visual Effect
COMPACT   tightens line spacing
(more compact list)
PLAIN   removes bullets
SEQNUM   defines the first number
START   defines the first number
CONTINUE   starts at the number where
the last list left off
TYPE (for ordered lists) 1

A

a

I

i

Arabic numerals (default)

Uppercase letters

Lowercase letters

Roman numerals (I, II, III, IV ...)

Lowercase Roman numerals

TYPE (for unordered lists) circle

square

disc

  • circular bullet
  • square bullet
  • solid, round bullet

This document entitled « HTML - Lists and numbering » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
 
Tips & Tricks relevant found in the knowledge base
16/03 16h37[Viruses] Preliminary method of disinfectionViruses
More tricks on « HTML »
Software found in the relevant downloads
Download PC Inspector File Recovery 4.0PC Inspector File Recovery - PC INSPECTORâ„¢ File Recovery is a data recovery program that supports the FAT 12/16/32 and NTFS file systems. Finds...Category: Backup
License: Freeware/gratuit
Download Money Manager Ex 0.9.2.0Money Manager Ex - Possibilty to download a version compatible with Linux <h2> </h2> Money Manager Ex is a free, open-source, cross...Category: Budget
License: Open Source
More freeware about « HTML »