Ordered lists, Unorderd lists and definition lists definition

Creating lists
An Ordered list is a collection of related items that can be used to represent information in aIn our daily routine, we have to write many things such as list of items required for a festival andlist of steps to make a dish. List feature of HTML allows us to display this type of information onthe web page in an organised manner.There are three types of lists named ordered list, unordered list and definition list that can be created in HTML to display the items in the form of list. Let us learn about these in detail. 


Ordered list
Ordered ListAn ordered list is also called the numbered list. This type of list is used to display the items ina sequential manner. For example, steps in an algorithm, etc. In HTML, the <OL> tag is usedto create an ordered list. The <LI> tag is used to define an item in the list. It can be used as anempty tag as well as a container tag.

Unordered list
An unordered list is also called bulleted list. This type of list is generally used to display itemsrandomly not in a sequential manner. The <UL>tag is used to define an unordered list.

Definition list
The definition list is also known as description list . The description list is created by using the < DL > tag in conjunction with < DD > and < DT > tags . The < DL > tag defines the entire description list . The < DT > tag defines the description term . The < DD > tag defines the description term's.

Comments

Popular Posts