Removing Bullets Numbers

suggest change

Sometimes a list should not display bullets or numbers. list-style-type: none removes the marker, but the list’s default padding can leave an indent. Set that padding as well if the indent should go.

<ul>
    <li>first item</li>
    <li>second item</li>
</ul>

CSS

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
li {
    margin: 0;
    padding: 0;
}

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents