HTML Lists

There are various types of list. some are below as shown in example

  1. unordered List – An unordered list starts with the <ul> tag. Every list item starts with the <li> tag. The list items will be marked with bullets by default.
  • ordered List -An ordered list starts with the <ol> tag. Every list item starts with the <li> tag.

The list items will be marked with numbers by default.

  • Description List –  A description list is a list with a description of each item.

The <dl> tag defines the description list, the <dt> tag defines the item, and the <dd> tag describes each term.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top