Name Update Time
Netflix September 26, 2024 9:54 am
Disney+ September 26, 2024 10:05 am
Max September 25, 2024 9:54 am
ChatGPT 4 September 27, 2024 2:03 pm
Spotify September 27, 2024 2:09 pm
Prime Video September 26, 2024 4:30 pm
Codecademy September 27, 2024 2:16 pm
Grammarly September 27, 2024 2:13 pm
Canva Pro September 27, 2024 2:20 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;
}