HTML Unordered List

Unordered List

The <ul> tag defines Unordered List.

<ul> tag is used when there is no need for sequential order.

The <ul> element represents an unordered list of items, it represents list items by symbols.

Unordered list is declared using <ul> tag and all of its list items are written inside the <li> tag.

Syntax

Example

Try Yourself

type attribute in Unordered List(<ul>)

type attribute is used to specify the type of symbols to be used in the markers.

In <ul> tag, type attribute can have one of the following values.

  • disc (default)
  • circle
  • square
  • none

Example

Try Yourself