Name Update Time
Netflix September 18, 2024 9:50 am
Disney+ September 18, 2024 10:03 am
Max September 18, 2024 2:46 pm
ChatGPT 4 September 14, 2024 2:26 pm
Spotify September 18, 2024 2:50 pm
Prime Video September 18, 2024 3:00 pm
Codecademy September 18, 2024 2:54 pm
Grammarly September 14, 2024 4:45 pm
Canva Pro September 18, 2024 4:38 pm
Udemy Premium Cookies September 2, 2024 2:53 pm

In some cases, we are required to remove the bullets of unordered and ordered lists. The removal of the list bullets is not a complex task using CSS. It can be easily done by setting the CSS list-style or list-style-type property to none.

The list-style-type CSS property is used to set the marker (like a disc, character, or the custom counter style) of a list item element. This CSS property helps us to create the list without bullets. It can only be applied to those elements whose display value is set to list-item. The list-style-type property is inherited, so it can be applied to the parent element (like <ul> or <ol>) to make it apply to all list items.

By default, the ordered list items are numbered with Arabic numerals (1, 2, 3, etc.), and the items in an unordered list are marked with round bullets (•). The list-style-type CSS property allows us to change the default list type of marker to any other type such as square, circle, roman numerals, Latin letters, and many more.

If we set its value to none, it will remove the markers/bullets. Instead of removing the bullets in a list, we can replace them with the images. It makes the site visually more attractive. It can be done by using the list-style-image property.

ul li{
list-style-type:none;
}