W3Newbie
  • HTML Tutorial
  • CSS Tutorial
  • Web Dev
    • VS Code Tutorial
    • Command Line Tutorial
    • Git Tutorial
    • Github Tutorial
    • Sass Tutorial
  • Courses
  • Resources
  • Tutorials
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu

HTML Unordered Lists

HTML unordered lists are created using the <ul> tag and are lists of items that don’t have a specific numerical order or ranking. They are commonly used to present items where the sequence isn’t crucial, such as:

  • Navigation menus, like the one on the top of this page.
  • Sets of related concepts or ideas on web pages.
  • The lists you see in tutorial pages like this one!

Key characteristics of unordered lists:

  • List items: Individual items within the list are defined using the <li> tag.
  • Bullet markers: Browsers typically display unordered lists with bullet points (often disc-shaped) to visually distinguish each item.
  • Nesting: Unordered lists can be nested within each other to create multi-level lists with hierarchical structures.

Basic Unordered List Example:

HTML:

<ul>
  <li>Item 1</li>
  <li>Item 2</li>
  <li>Item 3</li>
</ul>
  • Creates a bulleted list with default bullet markers (usually small black circles).

Nested Lists Example:

HTML:

<ul>
  <li>Main Item 1
    <ul>
      <li>Sub-item 1</li>
      <li>Sub-item 2</li>
    </ul>
  </li>
  <li>Main Item 2</li>
</ul>
  • Create a hierarchy of lists by nesting <ul> elements within each other.

Importance of unordered lists:

  • Organization: They enhance content structure and readability by visually grouping related items such as navigation items.
  • Scannability: Bullet points make content easier to scan and digest quickly.
  • Accessibility: Screen readers can effectively navigate and announce list items, improving accessibility for users with visual impairments.
  • SEO: Search engines may use lists to understand content structure and relationships between items.
< Previous
Next Lesson >
  • HTML Tutorial
  • HTML Introduction
  • HTML Text Editor
  • HTML Document
  • HTML Comments
  • HTML Elements
  • HTML Paragraphs
  • HTML Headings
  • HTML Text Formatting
  • HTML Links
  • HTML Images
  • HTML Unordered Lists
  • HTML Ordered Lists
  • HTML Tables
  • HTML Block Elements
  • HTML Inline Elements
  • HTML Attributes
  • HTML Classes
  • HTML IDs
  • HTML Audio
  • HTML Video
  • HTML Divs
  • HTML Semantics
  • HTML Accessibility
  • HTML Forms

The Newbie Template Bundle

The 12 Website Bundle Pack

Subscribe on YouTube

Web Development Courses

The HTML Email Mastery Course - Build Responsive HTML Email Templates.

Latest Tutorial Posts

  • The HTML Email Mastery Course - Build Responsive HTML Email Templates.w3newbie.com
    HTML Email Mastery Course CouponOctober 12, 2020 - 8:10 pm
  • Create A 5 Page Website With PHP Includes, HTML5, CSS3 & Bootstrap 4w3newbie.com
    Create A 5 Page Website With PHP Includes, HTML5, CSS3 & Bootstrap 4April 22, 2019 - 1:48 pm
© w3newbie.com, 2026. Terms of Use. Privacy Policy.
Scroll to top Scroll to top Scroll to top