li css no bullet code example

Example 1: how to remove the bullet in li

ul {
  list-style-type: none;
}

Example 2: remove bullets from list css

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

Example 3: remove bullets from ul

ul {
  list-style-type: none;
}
/* if you want to remove indentation , set padding: 0 and margin: 0 */

/* if you want inline code*/
<ul style="list-style: none;">
    <li>...</li>
</ul>

Example 4: li no bullet

list-style-type: none;

Example 5: css list no bullets

#my-list-element {
  list-style-type: none;
  padding-left: 0px;
}

Example 6: html list without bullets

style="list-style-type:none;"

Tags:

Css Example