CSS

How to create a list without bullets in HTML

In this tutorial, we are going to see how to create a list without bullets in HTML. You can easily use the CSS list-style-type attribute with the value “none” to remove the bullets from the list (<ul>). Here is an example:
 

 

Source Code:
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>Create a list without bullets in HTML </title>
		<style>       
			ul{
				list-style-type: none;
			}
		</style>
	</head>
	<body>
		<ul>
			<li>Lorem ipsum</li>
			<li>Lorem ipsum</li>
			<li>Lorem ipsum</li>
			<li>Lorem ipsum</li>
		</ul>
	</body>
</html>
Result
  • Lorem ipsum
  • Lorem ipsum
  • Lorem ipsum
  • Lorem ipsum
mcqMCQPractice competitive and technical Multiple Choice Questions and Answers (MCQs) with simple and logical explanations to prepare for tests and interviews.Read More

Leave a Reply

Your email address will not be published. Required fields are marked *