
A list is the most the way of representing information in a precise manner. Whether it is the minutes of meeting,a
list of grocery items, list of ingredients in recipe, or the table of contents of a document, you will find the use of list in
al of them. It helps in making important points stand out more clearly and thus grabs a visitor's attention. HTML Supports
different elements that are used to create a list for displaying items in a specific order. A list can be defined in different styles.
the types of lists that html provides are:
The unordered list is used when the items are not to be displayed in any particular order.
The list can be defined within the US and (/UL) tags. The UL tag indents each item in
The ad adds bullet against each of them. That is why the unordered list is also known
as the Bulleted list. For example, a list of stationery items is given below :
| ul tags |
|---|
| type: container tag function: creates an unordered list syntax: <ul> </ul> used with: body tag |
You can display the listed items in an Ordered and Unordered list by using the <LI> tag.
By default, the list items are preceded with a solid circle, which can be changed using the
Type attribute. Using the closing tag in <LI> is optional. Let us create an unordered list by
using <LI> tag.
| li tags |
|---|
| type:container tag define the list itens in ul \ ol syntax:< li> used within: ul and ol tagd |
|
<HTML> <HEAD> <TITLE>INSERTING LIST </TITLE> </HEAD> <BODY bgcolor="lightyellow"> < FONT color="blue"> <B>Benefits of positive Attitude </B> < UL> < LI>Increases Productivity < LI> Improves Quality < LI> Faster Team work < LI>Breeds Loyalty < LI> Makes for congenial atmosphere < LI> Makes for a pleasing personality </FONT> </UL> </BODY> </HTML>
|