HTML Unordered Lists

Use <ul> for a collection where the sequence is not important. Each item belongs in an <li> element.

Basic unordered list Top ↑

<ul>
  <li>HTML</li>
  <li>CSS</li>
  <li>JavaScript</li>
</ul>
  • HTML
  • CSS
  • JavaScript

Change bullet markers with CSS Top ↑

The old type attribute on <ul> is deprecated. Use CSS list-style-type instead.

ul { list-style-type: square; }
  • Square marker
  • Another item

Other marker styles Top ↑

.circle-list { list-style-type: circle; }
.no-marker { list-style-type: none; }
Accessibility: removing visible markers can make a list harder to recognize visually. Keep clear spacing and structure when you intentionally use list-style-type: none.

Nested unordered lists Top ↑

<ul>
  <li>Frontend
    <ul><li>HTML</li><li>CSS</li></ul>
  </li>
</ul>

Open styled-list demo

HTML Lists · Ordered Lists · Description Lists





plus2net.com










We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
©2000-2026   plus2net.com   All rights reserved worldwide Privacy Policy Disclaimer