VOOZH about

URL: https://www.geeksforgeeks.org/html/html-ul-tag/

⇱ HTML <ul> Tag - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML <ul> Tag

Last Updated : 12 Jul, 2025

The HTML <ul> tag defines an unordered (bulleted) list. Use the <ul> tag together with the <li> tag to create unordered lists. List items (<li>) are nested within <ul>, allowing the display of items without a specific order, typically represented by bullet points in browsers.

Attributes

AttributeDescription
HTML <ul> compact AttributeRenders the list smaller.
HTML <ul> type AttributeSpecifies the kind of marker used in the list. Values include disc, circle, square, etc.

Note: The <ul> attributes are not supported by HTML 5.

Types of List Styles:

The list-style-type property defines the type of bullets:

  • disc (default): Solid round bullets.
  • circle: Hollow bullets.
  • square: Square bullets.
  • none: No bullets.


Nested unordered list

A nested unordered list allows creating multi-level hierarchies by placing a <ul> inside an <li>.

Comment
Article Tags: