Beginner List Lists
HTML support is not numbered unnumbered, numbered numbered, and defines a definition of three lists. You can also nest lists, but do not nest too much, otherwise it will make readers feel less clear.
No numbered list unnumbered Lists
Make a numbered, bulletin-list,
Start with the start tag
(unnumbered list denoted)
Enter the
- (list item) tag, followed by a separate item; No need to use
mark
End the entire list with the
tag
The following is a list of three items:
- apples
- Bananas
- Grapefruit
The output form is:
Apples
Bananas
Grapefruit
items can contain multiple paragraphs. Use paragraph marks indicate.
Numbered list numbered Lists
A numbered list (also known as a sequence table ordered list) is the same as a numbered list, with
instead of
. The same use
- mark. The following HTML code:
- oranges
- Peaches
- grapes
The resulting output is:
Oranges
Peaches
Grapes
Define List Definition Lists
The definition list (encoded as
) usually contains alternating definitions of defined terms definition term (encoded as
-
) and definition definitions definition (encoded as
-
). A Web browser usually displays a definition description on a separate line.
Here is an example of a definition list:
-
NCSA
-
NCSA, the national Center for Supercomputing applications,
is located on the campus of the University of Illinois
At Urbana-champaign.
-
Cornell theory Center
-
CTC is located on the campus of Cornell University in Ithaca,
New York.
The output form is:
NCSA
NCSA, the national Center for Supercomputing applications, are located on the campus of the University of Illinois in Urban A-champaign.
Cornell theory Center
CTC is located on the campus of Cornell University in Ithaca, New York.
-
and
-
items can contain multiple paragraphs (indicated by
tags), lists, or other definition information.
The COMPACT attribute may be used frequently, if your definition term is short. For example, if you want to display some computer options, they can be in the same row as the beginning of the definition.
<DL compact>
-
I.
-
invokes NCSA Mosaic for Microsoft Windows using the
Initialization file defined in the path
-
-K
-
invokes NCSA Mosaic for Microsoft Windows in kiosk mode
The output form is:
-I.
Invokes NCSA Mosaic for Microsoft Windows using the initialization file defined in the path.
-K
Invokes NCSA Mosaic for Microsoft Windows in kiosk mode.
Nested list nested Lists
Lists can be nested. In each list item, you can also include multiple paragraphs, each containing a nested list.