|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Lists In HTML The UNORDERED LIST
The Unnumbered List is the first of the three types of lists. This is probably the most common list you will use. Example of an Unordered List...
<ul> <li>pencils</li> <li>pens</li> <li>erasers</li> <li>paper</li> <li>glue</li> </ul> The <ul> tag is the opening Unordered List Tag. The ORDERED LIST... The Ordered List, also known as the Numbered List, is very similar in structure to the unordered list, except each list item has a number in front of it, instead of a bullet. Also, the opening tag for the list is <ol> instead of <ul>, and the closing tag is </ol> instead of </ul>. List Items within the list still use the same tags. Example of an Ordered List...
<ol> <li>pencils</li> <li>pens</li> <li>erasers</li> <li>paper</li> <li>glue</li> </ol> The Definition List... This type of list is a little more complicated, but still very easy to use. This list starts with the <dl> opening tag, and ends with the </dl> closing tag. This has another tag known as <dt> for Definition Term, and <dd> for Definition Definition. These two tags do not need closing tags. Example of a Definition List...
Now here is the HTML code for this Definition List... Your own HTML page... </html> Save the text file as "Home.htm" and test to see results. Comments, Questions & Reviews
Comments is currently disabled for this article! Related Articles and Readings
The information provided in this article is for general information and/or the comments is the sole responsibility of their respective authors and does not necessarily reflect the opinion of zeronese.net does not endorse any article and/or comments published by our web users unless otherwise noted. |
Categories
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

