Chapter 7: Lists

The group of items is a list. It may be the list of groceries for the month, advantages of using a website for business, Steps involved in obtaining a passport, frequently asked questions on a stock exchange website.
The similarities in all the examples above are that they are a group of items so should be marked as a list. However the minor differences are,

  1. Items in the group can be any order i.e. un-ordered list. Eg: Advantages of a business website.
  2. Items if the order is shuffled the meaning may be changed or becomes completely invalid i.e. Ordered list. Eg: Steps involved in applying for a passport.
  3. Items that have two parts i.e. Definition list. Eg: FAQs, glosery etc.

Un-ordered list

Un-ordered list contains items that necessarily not required to be in an order. A group of links on a web page, requirements to apply for a job etc. These usually will be bulleted lists or any other style that are not a sequential representation.
<ul> element is used to markup the un-ordered list with li> for each list item.

Example: Terms & Conditions on a travel booking website are as follows.

<ul>
<li>This Passengers should come to premises travel before 30 minutes.</li>
<li>The Company shall not be in any way responsible for any loss of Goods, Property of the passengers while travelling.</li>
<li>The Company shall not be responsible for any delay or inconvenience during the journey due to break down of the vehicle or other reason beyond the control of the company.</li>
<li>No refund will be paid within 24 hours before departure of postponed.</li>
<li>Additional facility, if fails we are not responsible, such case amount will not be refund.</li>

<li>If have any circumstances(Bad Weather, Floods,Bundh, any Techinical problems and other reasons etc..) Then The company should be full Authority to cancellation of tour,such type of cancellations we will inform to you. than we shall be refund of amount transfer to customer accounts within 5 working days.</li>
</ul>

Ordered List

Ordered list should be only marked to the items that required to be in a sequence. In this type of list, if the items are shuffled the meaning will be changed. Steps involved in performing a task, procedure in a science experiment etc are some examples of ordered list.

Example: Steps involved in online passport submission.

<ol>
<li>register through the Passport Seva Online Portal. (Click on “Register Now” link on the Home Page
.<li>Login to the Passport Seva Online Portal with the registered Login Id</li>
Click “Apply for Fresh Passport/Re-issue of Passport” link
</li>
<li>
Fill in the required details in the form and submit.
</li>
</ol>

Definition list

Definition list is marked to show items that have two content items in each list item. A list of frequently asked questions will have a question and answer, glossary will have a term and its meaning etc.