css list 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: ul hide bullet css

ul.ba {
    list-style-type: none;
}

Example 5: li no bullet

list-style-type: none;

Example 6: list html without bullets

<ul style="list-style-type:none">
	<li></li>
    <li></li>
</ul>

Tags:

Css Example