Join TalkersCode Now !

Get Latest Tutorials And Links On Web Development
And Get Existing Offers Via Email



HTML has three kinds of lists.

  • <ol>It is called Ordered list it uses different schemes of numerals to list items.
  • <ul>It is called Unordered list it use bullets to list items.
  • <dl>It is called defination list it use to display data in defination style.

Ordered List (<ol>)

Ordered list uses various type of letters,numerals to list your data instead of bullets.

It uses type and start attribute to display list in different numerals.

  • type="1"Default numeral
  • type="I"Uppercase numeral
  • type="i"Lowercase numeral
  • type="A"Uppercase letter
  • type="a"Lowercase letter

  • Suppose start="2" so list numerals starts from second position of every numerals

  • Example of <ol>

    <ol type="1" start="2">
    <ol type="I" start="2">
    <ol type="i" start="2">
    <ol type="A" start="2">
    <ol type="a" start="2">

    Result of the above example

    1. Apple
    1. Banana
    1. Mango
    1. Carrot
    1. Orange

    Unordered List (<ul>)

    Unordered list uses different types of bullets to list your data.

    It uses type attribute to display list in different bullets.

    • type="square"
    • type="disc"
    • type="circle"

    Example of <ul>

    <ul type="square">
    <ul type="disc">
    <ul type="circle">

    Result of the above example

    • Apple
    • Banana
    • Mango

    Defination List(<dl>)

    It is used to represent data in defination style it consist of two more tags:

    • <dt>It is called the term.
    • <dd>It is called the term defination.

    Example of <dl>

    <dd>It is Hyper Text Markup Language</dd>
    <dd>It is Cascading Style Sheet</dd>

    Result of the above Example

    It is Hyper Text Markup Language
    It is Cascading Style Sheet


    Join Us With Our 21000+ Subscribers And Get Our Latest Tutorials Update Via Email

    Are You Starting A New Blog
    Do You Want Best Web Hosting?

    Try World's Best Web Hosting Provider BlueHost
    At Just $3.95/mo

    Hurry Up! Limited Time Offer

    Yes, I Want To Check Out BlueHost

    Check The World's Best SEO And All-In-One Marketing Toolkit
    For Digital Marketing Professionals SEMRUSH

    Check Out SEMRUSH