HTML <ul> Tag Last Updated : 12 Jul, 2025 Comments Improve Suggest changes Like Article Like Report 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. HTML <!DOCTYPE html> <html> <body> <h2>Laptop accessories</h2> <ul> <li>Mouse</li> <li>Keyboard</li> <li>Speaker</li> <li>Monitor</li> </ul> </body> </html> AttributesAttributeDescriptionHTML <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. HTML <!DOCTYPE html> <html> <head> <style> ul { list-style-type: square; padding: 0; } </style> </head> <body> <h1>Grocery List</h1> <ul> <li>Apples</li> <li>Bananas</li> <li>Carrots</li> <li>Bread</li> </ul> </body> </html> Nested unordered listA nested unordered list allows creating multi-level hierarchies by placing a <ul> inside an <li>. HTML <!DOCTYPE html> <html> <head> <title>Nested unordered list</title> </head> <body> <h2>Welcome To GeeksforGeeks</h2> <ul> <li>Hardware</li> <li> Software <ul> <li>System Software</li> <li>Application Software</li> </ul> </li> <li>MacBook</li> </ul> </body> </html> Comment More infoAdvertise with us Next Article HTML Tag S Sabya_Samadder Follow Improve Article Tags : Web Technologies HTML HTML-Tags Similar Reads HTML <nav> Tag The <nav> tag in HTML is used to define navigation sections on a webpage. It typically contains links to key parts of the site, such as the main menu, table of contents, or index. These links are usually organized using unordered lists (<ul>) or displayed as standalone links.Using the 3 min read HTML <nav> Tag The <nav> tag in HTML is used to define navigation sections on a webpage. It typically contains links to key parts of the site, such as the main menu, table of contents, or index. These links are usually organized using unordered lists (<ul>) or displayed as standalone links.Using the 3 min read HTML <nav> Tag The <nav> tag in HTML is used to define navigation sections on a webpage. It typically contains links to key parts of the site, such as the main menu, table of contents, or index. These links are usually organized using unordered lists (<ul>) or displayed as standalone links.Using the 3 min read HTML <sub> Tag The <sub> tag in HTML is used to define subscript text, which appears smaller and slightly below the normal text baseline. It is commonly used for mathematical expressions, chemical formulas, and footnotes, like in HâO (water) or E=mc² (Einsteinâs equation).Syntax<sub> Contents. . . < 2 min read HTML <menu> Tag HTML <menu> Tag defines an Unordered List of items. For creating an unordered list, we can use the <menu> tag with HTML <li> tags. The HTML <menu> tag is a semantic tag and an alternative option for the HTML <ul> tag. Syntax<menu> <li>Content... </li> 2 min read HTML <span> Tag The HTML <span> tag is an inline container that is used to group and apply styles or scripts to specific parts of text or elements within a document. The <span> tag is inline, meaning it doesn't create a new line. It stays within the same line as the text around it.The <span> tag d 4 min read Like