How to generate unordered list without any bullets

By default unordered list have bullets. If you don’t need them, you can easily remove them by using following CSS code.

ul
{
    list-style-type: none;
}

If you need to remove indentation too, this can be easily done by following code:

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

Scroll to Top