Explain various HTML list tags?

Asked: Apr 15, 2023

In HTML we can list the element in two ways:

  1. Ordered list : In this list item are marked with numbers.

<ol><li> first item </li><li>second item </li></ol>

Display as:

  1. First item
  2. Second item.
  3.  
  4. Unordered Lists : In this item are marked with bullets.

<ul><li> first item</li><li>second item </li></ul>

Display as:

- First item

- Second item.

Asked by brijesh

Answers (0)

No answers yet. Be the first to answer!