Answers for "ul html without bullets"

CSS
12

no bullets in 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>
Posted by: Guest on July-06-2020
2

li without bullet

ul {
  list-style-type: none;
 }
Posted by: Guest on February-28-2020
1

list without bullets html

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
Posted by: Guest on July-08-2021
4

html list without bullets

style="list-style-type:none;"
Posted by: Guest on April-03-2020
1

CSS add bullets without using lists

/* Manually Add Bullets to Elements in HTML Page*/
ul{
  position: relative;
}
ul li{
  list-style: none;
}
ul li::after{
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #f00;
  top: 2px;
  left: -8px;
  /* + or - top and left according to your style, so that they look perfect*/
}
Posted by: Guest on June-14-2021
0

ul no bullets

<ul style="list-style-type:none;">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>
Posted by: Guest on October-01-2020

Browse Popular Code Answers by Language