Skip to main content

List Making

In this page, you will learn how to make a list.


List

List is used to organize items. It also make the items in order regardless of its quantity.



Types of list


In html, there are two types of list namely unordered list and ordered list


Unordered List

This type of list has no ordinality or numbers on its items. It uses bullets to show that the item is included on the list
Below is the code for the unordered list tag:
<ul>

</ul>


Sample

This is a sample of an unordered list. beneath each element is the code used to input it:

Code: </ul>

Ordered List

This type of list is indicating the ordinality of each item of the list. ordinal numbers will appear before the inputed item.
Below is the code for the ordered list
<ol>

</ol>


Sample

This is a sample of an ordered list. beneath each element is the code used to input it:

    Code: <ol>
    Most common used social media sites in the Philippines:
  1. Facebook
  2. Code: <li>Facebook</li>
  3. Twitter
  4. Code: <li>Twitter</li>
  5. Instagram
  6. Code: <li>Instagram</li>
Code: </ol>

Try It

If you want to try what you have learned in this page, open a notepad and perform them.




Back to home
back to top


© CopyrightMMK 2017