In this article, you will learn how to use CSS Property of List tag in HTML.

Example:-

list.html

<html>
<head>
<title>List Property</title>
<limk rel="stylesheet" href="style.css">>
</head>
<body>
<ul>
<li>Home</li>
<li>Anout</li>
<li>Gallery</li>
<li>Blog</li>
<li>Contact Us</li>
</ul>
</body>
</html>

style.css

li{
display:inline;
margin-left: 10px;
font-weight:bold;
}

Output:-

Home About Gallery Blog Contact

You can read on Facebook