Lists commonly are found in documents,
including web pages. They are an easy and effective way to itemize such
things as elements, components, or ingredients.
Words or phrases which need to be set apart from the rest of the body of text can be emphasized with a “bullet” (a heavy dot used for calling attention to a particular section of text). An empty tag called a “list” tag is used to do this:
<FONT
SIZE="4"><P>During a routine eye examination, a pathology
within the body sometimes can be detected in the eye, especially if the
disease process is in a moderate to advanced stage. Here are 2 such
cases, along with their intraocular signs:
<UL TYPE="CIRCLE">
<LI><I>diabetic</I> retinal signs:
<UL TYPE="SQUARE">
<LI>CSME (clinically significant macular edema)
<LI>cotton wool spots (infarcted areas)
<LI>neovascular formation
<LI>blot and dot hemorrhages
</UL>
<LI><I>hypertensive (high blood pressure)</I> retinal signs:
<UL TYPE="SQUARE">
<LI>blood vessel crossing defects (arteries compressing veins)
<LI>exudative changes in and around the macula ("star-burst" pattern)
<LI>hemorrhages
<LI>narrowing of retinal arterioles, including the "boxcar" effect
</UL>
</UL></P></FONT>
and would be marked up like this:
During
a routine eye examination, a pathology within the body sometimes can be
detected in the eye, especially if the disease process is in a moderate
to advanced stage. Here are 2 such cases, along with their intraocular
signs:
List tags (<LI>) also may be incorporated within another pair of non-empty tags, called “ordered list” tags:
<FONT
SIZE="4"><P>As listed in the <I>Jackson Heights
Journal</I>, Jackson Heights Middle School ranked
<B>5th</B> in the city-wide achievement test given last
week:
<OL TYPE="I">
<LI>Oakfield Middle School
<OL TYPE="A">
<LI>Tod Hastings
<OL TYPE="1">
<LI>Math (#3)
<LI>History (#2)
<LI>Science (#2)
</OL>
<LI>Bonita Chavez
<OL TYPE="1">
<LI>Math (#1)
<LI>History (#4)
<LI>Science (#3)
</OL>
</OL>
<LI>Parkview Mid-High
<OL TYPE="A">
<LI>Jacque Russell
<OL TYPE="1">
<LI>Math (#2)
<LI>History (#5)
<LI>Science (#4)
</OL>
<LI>Dwayne Clancy
<OL TYPE="1">
<LI>Math (#4)
<LI>History (#7)
<LI>Science (#1)
</OL>
</OL>
.<BR>
.<BR>
.<BR>
<LI VALUE="5">Jackson Heights Middle School
<OL TYPE="A">
<LI>Christine Quon
<OL TYPE="1">
<LI>Math (#7)
<LI>History (#6)
<LI>Science (#5)
</OL>
<LI>Roger Dietz
<OL TYPE="1">
<LI>Math (#5)
<LI>History (#8)
<LI>Science (#7)
</OL>
</OL>
</OL></P></FONT>
and would appear like this:
As listed in the Jackson Heights Journal, Jackson Heights Middle School ranked 5th in the city-wide achievement test given last week:
Sometimes, it is helpful to include a glossary of terms in a document, which is accomplished with non-empty “definition list” tags:
<DL><FONT SIZE="4">
<DT>HTML
<DD>Hypertext Markup Language
<DT>TP
<DD>Transfer Protocol
<DL>
<DT>FTP
<DD>File Transfer Protocol
<DT>HTTP
<DD>Hypertext Transfer Protocol
</DL>
<DT>URL
<DD>Uniform Resource Locator (= web address)
<DT>WWW
<DD>World Wide Web</FONT>
</DL>
and how this list would look on a browser:
<DL COMPACT><FONT SIZE="4">
<DT>1<DD>HTML
<DT>1<DD>TP
<DT>1<DD>URL
<DT>1<DD>WWW</FONT>
</DL>
and would look this way:
At times it is beneficial to create a list of related, indented terms which are not preceded by either bullets or numbers. In such cases, non-empty “directory list” tags may be used:
<FONT SIZE="4"><H2>Table of Contents</H2><DIR>
<A HREF="P-I">Part I</A><DIR>
<A HREF="P-I_C-1">Chapter 1</A><DIR>
<A HREF="P-I_C-1_S-A">Section A</A><BR>
<A HREF="P-I_C-1_S-B">Section B</A></DIR>
<A HREF="P-I_C-2">Chapter 2</A><DIR>
<A HREF="P-I_C-2_S-A">Section A</A><BR>
<A HREF="P-I_C-2_S-B">Section B</A></DIR></DIR>
<A HREF="P-II">Part II</A><DIR>
<A HREF="P-II_C-3">Chapter 3</A><DIR>
<A HREF="P-II_C-3_S-A">Section A</A><BR>
<A HREF="P-II_C-3_S-B">Section B</A></DIR>
<A HREF="P-II_C-4">Chapter 4</A><DIR>
<A HREF="P-II_C-4_S-A">Section A</A><BR>
<A HREF="P-II_C-4_S-B">Section B</A></DIR></DIR></DIR></FONT>
and which would look like this when marked up:
Chapter 1
Section A
Section B
Chapter 2
Section A
Section B
Part II
Chapter 3
Section A
Section B
Chapter 4 Section A Section B
Words or phrases which need to be set apart from the rest of the body of text can be emphasized with a “bullet” (a heavy dot used for calling attention to a particular section of text). An empty tag called a “list” tag is used to do this:
- <LI>:
creates a bullet in front of text which is to be set apart for emphasis
and causes all text after it to be indented, either until another list
tag is detected or until the end of the list is reached. It is used to
itemize elements of “unordered” and “ordered” lists.
Note: A <BR> tag is not inserted at the end of an item beginning with a <LI> tag, as a line break automatically occurs at that point.
- <UL>unordered list</UL>: delineates a list, where the items are generally of equal importance and do not need to go in any particular order. Each item begins with a <LI> tag. Unordered lists may be nested inside unordered lists or inside any other types of lists (one list inside of another list inside of another list). A line space automatically is inserted before and after an unordered list (that is, an entire line is skipped between an unordered list and any text before and after it), except for (on most browsers) a list nested within another list.
- TYPE="DISC"|"SQUARE"|"CIRCLE": designates the appearance of the bullets preceding the listed items. Many browsers support only the "DISC" attribute.
"DISC" causes each bullet to appear as a solid, round disc.
"SQUARE" causes each bullet to appear as a solid square. (Many browsers do not recognize the "SQUARE" attribute.)
"CIRCLE" causes each bullet to appear as an empty circle. (Many browsers do not recognize the "CIRCLE" attribute.)
Note: On some browsers, "DISC" is the default bullet. On other browsers, "CIRCLE" is the default bullet.
<UL TYPE="CIRCLE">
<LI><I>diabetic</I> retinal signs:
<UL TYPE="SQUARE">
<LI>CSME (clinically significant macular edema)
<LI>cotton wool spots (infarcted areas)
<LI>neovascular formation
<LI>blot and dot hemorrhages
</UL>
<LI><I>hypertensive (high blood pressure)</I> retinal signs:
<UL TYPE="SQUARE">
<LI>blood vessel crossing defects (arteries compressing veins)
<LI>exudative changes in and around the macula ("star-burst" pattern)
<LI>hemorrhages
<LI>narrowing of retinal arterioles, including the "boxcar" effect
</UL>
</UL></P></FONT>
- diabetic retinal signs:
- CSME (clinically significant macular edema)
- cotton wool spots (infarcted areas)
- neovascular formation
- blot and dot hemorrhages
- hypertensive (high blood pressure) retinal signs:
- blood vessel crossing defects (arteries compressing veins)
- exudative changes in and around the macula ("star-burst" pattern)
- hemorrhages
- narrowing of retinal arterioles, including the "boxcar" effect
Note: If circular bullets and/or
square bullets do not appear in the example above, then your browser
does not recognize the "CIRCLE" bullet attribute and/or the "SQUARE"
bullet attribute.
List tags (<LI>) also may be incorporated within another pair of non-empty tags, called “ordered list” tags:
- <OL>ordered list</OL>: delineates a list, where the items are in sequential, numerical order. Each item begins with a <LI> tag. Ordered lists may be nested inside ordered lists or inside any other types of lists (one list inside of another list inside of another list). A line space automatically is inserted before and after an ordered list (that is, an entire line is skipped between an ordered list and any text before and after it), except for (on most browsers) a list nested within another list.
- TYPE="I"|"A"|"1"|"a"|"i": designates the appearance of the numbers preceding the items in the list and, therefore, is conducive to building an outline using nested ordered lists.
"I" causes the items to be numbered I, II, III, IV, V, VI, VII, etc.
"A" causes the items to be numbered A, B, C, D, E, F, G, etc.
"1" (the default) causes the items to be numbered 1, 2, 3, 4, 5, 6, 7, etc.
"a" causes the items to be numbered a, b, c, d, e, f, g, etc.
"i" cause the items to be numbered i, ii, iii, iv, v, vi, vii, etc.
- VALUE="1"|"2"|"3"|...|"N":
immediately changes the number of that item to the Nth term of that
particular numbering type. For example, VALUE="4" would label that item
in the sequence as follows:
for TYPE="I" that item would be “IV”;
for TYPE="A" that item would be “D”;
for TYPE="1" that item would be “4”;
for TYPE="a" that item would be “d”;
for TYPE="i" that item would be “iv.”
<OL TYPE="I">
<LI>Oakfield Middle School
<OL TYPE="A">
<LI>Tod Hastings
<OL TYPE="1">
<LI>Math (#3)
<LI>History (#2)
<LI>Science (#2)
</OL>
<LI>Bonita Chavez
<OL TYPE="1">
<LI>Math (#1)
<LI>History (#4)
<LI>Science (#3)
</OL>
</OL>
<LI>Parkview Mid-High
<OL TYPE="A">
<LI>Jacque Russell
<OL TYPE="1">
<LI>Math (#2)
<LI>History (#5)
<LI>Science (#4)
</OL>
<LI>Dwayne Clancy
<OL TYPE="1">
<LI>Math (#4)
<LI>History (#7)
<LI>Science (#1)
</OL>
</OL>
.<BR>
.<BR>
.<BR>
<LI VALUE="5">Jackson Heights Middle School
<OL TYPE="A">
<LI>Christine Quon
<OL TYPE="1">
<LI>Math (#7)
<LI>History (#6)
<LI>Science (#5)
</OL>
<LI>Roger Dietz
<OL TYPE="1">
<LI>Math (#5)
<LI>History (#8)
<LI>Science (#7)
</OL>
</OL>
</OL></P></FONT>
- Oakfield Middle School
- Tod Hastings
- Math (#3)
- History (#2)
- Science (#2)
- Bonita Chavez
- Math (#1)
- History (#4)
- Science (#3)
- Tod Hastings
- Parkview Mid-High
- Jacque Russell
- Math (#2)
- History (#5)
- Science (#4)
- Dwayne Clancy
- Math (#4)
- History (#7)
- Science (#1)
.
.
- Jacque Russell
- Jackson Heights Middle School
- Christine Quon
- Math (#7)
- History (#6)
- Science (#5)
- Roger Dietz
- Math (#5)
- History (#8)
- Science (#7)
- Christine Quon
Sometimes, it is helpful to include a glossary of terms in a document, which is accomplished with non-empty “definition list” tags:
- <DL>definition list</DL>: delineates a list, where the items are individual terms paired with their definitions, and each definition is indented and placed one line down from each term. Definition lists may be nested inside definition lists or inside any other types of lists (one list inside of another list inside of another list). A line space automatically is inserted before and after a definition list (that is, an entire line is skipped between a definition list and any text before and after it), excluding a list nested within another list.
- <DL COMPACT>definition list</DL>: same as <DL> & </DL>, except each definition is placed on the same line as each term.
- <DT>: creates (but does not place bullets in front of) terms included in a glossary or definition list.
- <DD>: indents (but does not place bullets in front of) definitions of terms in a glossary or definition list.
<DT>HTML
<DD>Hypertext Markup Language
<DT>TP
<DD>Transfer Protocol
<DL>
<DT>FTP
<DD>File Transfer Protocol
<DT>HTTP
<DD>Hypertext Transfer Protocol
</DL>
<DT>URL
<DD>Uniform Resource Locator (= web address)
<DT>WWW
<DD>World Wide Web</FONT>
</DL>
- HTML
- Hypertext Markup Language
- TP
- Transfer Protocol
- FTP
- File Transfer Protocol
- HTTP
- Hypertext Transfer Protocol
- URL
- Uniform Resource Locator (= web address)
- WWW
- World Wide Web
<DT>1<DD>HTML
<DT>1<DD>TP
<DT>1<DD>URL
<DT>1<DD>WWW</FONT>
</DL>
- 1
- HTML
- 2
- TP
- 3
- URL
- 4
- WWW
At times it is beneficial to create a list of related, indented terms which are not preceded by either bullets or numbers. In such cases, non-empty “directory list” tags may be used:
- <DIR>directory list</DIR>: creates a directory listing where each entry is indented (on most
browsers). Directory lists may be nested inside directory lists or
inside any other types of lists (one list inside of another list inside
of another list). On most browsers, a line space automatically
is inserted before and after a directory list (that is, an entire line
is skipped between a directory list and any text before and after it), except for (on many browsers) a list nested within another list.
Note: An example of directory lists nested within an unordered list may be seen by viewing the list of hyperlinks in the HTML source code of the initial page (“Ted’s HTML Tutorial”) of this portion of my web site.
<A HREF="P-I">Part I</A><DIR>
<A HREF="P-I_C-1">Chapter 1</A><DIR>
<A HREF="P-I_C-1_S-A">Section A</A><BR>
<A HREF="P-I_C-1_S-B">Section B</A></DIR>
<A HREF="P-I_C-2">Chapter 2</A><DIR>
<A HREF="P-I_C-2_S-A">Section A</A><BR>
<A HREF="P-I_C-2_S-B">Section B</A></DIR></DIR>
<A HREF="P-II">Part II</A><DIR>
<A HREF="P-II_C-3">Chapter 3</A><DIR>
<A HREF="P-II_C-3_S-A">Section A</A><BR>
<A HREF="P-II_C-3_S-B">Section B</A></DIR>
<A HREF="P-II_C-4">Chapter 4</A><DIR>
<A HREF="P-II_C-4_S-A">Section A</A><BR>
<A HREF="P-II_C-4_S-B">Section B</A></DIR></DIR></DIR></FONT>
Table of Contents
Part ISection B
Section B
Section B