Html <List> Attributes And Its Example

<list> Attribute :

The CSS list-style-type property is used to change the numbering style from the default, i.e. decimal to lower roman numbers, with the value lower-roman. HTML offers us three ways for specifying lists of information to represents the list of points or even explanation.

<list> Type :

  • <ul>: An unordered list used to group a set of related items in no particular order.
  • <ol>: An ordered unordered list used to group a set of related items in a specific order.
  • <dl>: An definition list used to display name/value pairs such as terms and definitions.

Unordered list Example :

Output :



Ordered list Example :

Output :



Definition lists Example :

Output: