skip to Main Content

Hi I have the below element

enter image description here

and when I highlighted the dot icon , the html css shows as below while using F12 developer tools

enter image description here

enter image description here

How to remove the ::marker from the html.

I tried using the below code . But it is not getting fixed.

list-style:none;

I am trying to find the solution and learn in the process.

2

Answers


  1. Update the display value of li to remove the ::marker

    .no {
      display: block
    }
    <ul>
     <li class="no">list</li>
     <li>list</li>
     <li>list</li>
     <li>list</li>
    </ul>
    Login or Signup to reply.
  2. You can use the property – list-style-type: none; on li.
    Can refer to this link

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search