How to create an unordered list without bullets using CSS?

CSSWeb DevelopmentFront End Technology

To create an unordered list without bullets using CSS, the code is as follows −

Example

 Live Demo

<!DOCTYPE html>
<html>
<head>
<style>
   body{
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   }
   ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
      font-size: 18px;
      font-weight: bold;
   }
</style>
</head>
<body>
<h1>Remove bullets from ul example</h1>
<ul>
<li>Tiger</li>
<li>Giraffe</li>
<li>Lion</li>
</ul>
</body>
</html>

Output

The following output will be produced by the above code −

raja
Published on 07-May-2020 16:04:23
Advertisements