Elenchi e numerazioni nell'HTML Listas e enumerações em HTML Listen und Aufzählungen in HTML Listes et énumérations en HTML Listas en HTML

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


Last update on Thursday October 16, 2008 02:43:14 PM.This document entitled « Lists in HTML » 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.
Best answers for « Lists in HTML » in :
HTML forms Show Forms Interactive forms let web page authors give their pages interactive elements, such as for receiving messages from their readers, much like the reply cards found in some magazines. The reader enters information by filling in fields or clicking...
Show what you are listening to on MSN/WLM ShowShow what you are listening to on MSN/WLM Windows Media Player The Winamp Player The VLC Media Player The Foobar 2000 player When we are connected to instant messaging Windows Live Messenger, it is possible to display and use...
List of open ports in command line ShowList of open ports in command line Whether you're running Windows or Linux / Unix, the following command in (console) will display the list of open ports on your computer: netstat -a For the use of advanced graphics tools, see What...
How to easily display PHP/HTML codes in your webpages ShowHow to easily display PHP/HTML codes in your webpages What code to use? If you want your visitors to be able to see the source codes of your webpage, there is a very easy way to do so. Normally, all you have to do in a HTML file using...
Download Convert HTML To Image ShowTo allow you to design a website, you need to see several templates corresponding to its field. Thus you must capture web pages. Convert HTML to Image allows you to perform this operation easily. This software can capture a screenshot in several...
HTML Markup ShowHTML, A Markup Language HTML is not a programming language. Rather, it is used for describing the layout and format of content, written in the form of simple text. An HTML page is a basic text file containing tags for specifying text format,...
Structure tags ShowTags can be divided into two groups: Those which change the structure of the page, and those which change the text style. Structure tags include header tags, paragraph tags, list tags, and more. Attributes The following attributes are placed within...
HTML document layout ShowHTML document An HTML page is a simple file containing text formatted with HTML tags. Traditionally, the file is given an .htm or .html extension, but a web page may have other extensions as well. A web page can be built from even the most basic...