Answers for "css list decoration none remove bullets"

CSS
22

remove bullets from list css

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
Posted by: Guest on April-03-2020
0

remove bullets from ul css

<!DOCTYPE html>
<html>
<head>
   <style>
   	ul.no_bullets{
    	list-style-type: none;
    }
   </style>
</head>
<body>
	<h2>Default List-</h2>
	<ul>
    	<li>Apple</li>
        <li>Mango</li>
        <li>Orange</li>
        <li>Banana</li>
    </ul>
    
    <h2>List without bullet points-</h2>
    <ul class="no_bullets">
    	<li>Apple</li>
        <li>Mango</li>
        <li>Orange</li>
        <li>Banana</li>
    </ul>
</body>
</html>
Posted by: Guest on September-06-2021

Browse Popular Code Answers by Language