Write a code for design menu system using list tag || DWPD Sem 5 Practical 6

DWPD : Practical 6


Index.html file Code<!DOCTYPE html>
<html>
<head>
<title>Menu</title>
<style>
ul
{
 list-style:none;
}
ul li
{
 display:inline-block;
 padding:5px;
 background:grey;
}
ul a li
{
 color:white;
 text-decoration:none;
}
</style>
</head>
<body>
<h3>menu system using ul , li & a tags</h3>
<ul>
 <a href="#"><li>Menu 1</li></a>
 <a href="#"><li>Menu 2</li></a>
 <a href="#"><li>Menu 3</li></a>
 <a href="#"><li>Menu 4</li></a>
 <a href="#"><li>Menu 5</li></a>
 <a href="#"><li>Menu 6</li></a>
 <a href="#"><li>Menu 7</li></a>
</ul>
</body>
</html>

 

Output : 

 

Comments

  1. Thank You so much bhai
    im also compute engineering student at diplpma patan 5th sem : )

    ReplyDelete
  2. You most welcome bro, share with others and make me happy.😊

    If you have any query you can send me an email and i will post it's solution in my next blog
    Email : hardhebro@gmail.com

    ReplyDelete

Post a Comment