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 :
Thank You so much bhai
ReplyDeleteim also compute engineering student at diplpma patan 5th sem : )
You most welcome bro, share with others and make me happy.😊
ReplyDeleteIf 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