Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (20.3k points)

I have created an unordered list. I feel the bullets in the unordered list are bothersome, so I want to remove them.

Is it possible to have a list without bullets?

1 Answer

0 votes
by (40.7k points)

Try removing the bullets by setting the list-style-type to none on the CSS for the parent element (typically a <ul>).

For example:

ul {

  list-style-type: none;

}

If you want to add padding: 0 and margin: 0 to that if you wish to remove indentation as well. Have a look at  Listutorial for a great walkthrough of list formatting techniques.

Browse Categories

...