Home > HTML Tags > Lists >
     
HTML Tags
Lists

Bullet lists

Bullet lists are called unordered lists. They begin and end with the <UL> tags, and each item is marked with the <LI> tag.

<UL>

<LI>Item 1

<LI>Item 2

<LI>Item 3

<LI>Item 4

</UL>

Numbered lists

Numbered lists are called ordered lists. They begin and end with the <OL> tags, and each item is marked with the <LI> tag.

<OL>

<LI>Item 1

<LI>Item 2

<LI>Item 3

<LI>Item 4 </OL>

Definition lists

Definition lists allow you to make a list of terms and their definitions. They begin and end with <DL> tags. Each item is marked with a <DT> tag and each definition with a <DD> tag. lists.

< DL >

<DT>Item 1

<DD>Item 1 definition

<DT>Item 2

<DD>Item 2 definition

</ DL >



Copyright © 1995-2010, Pearson Education, Inc., publishing as Pearson Longman Legal and Privacy Terms