<html>
<head>
<style>
#ul-nb{
list-style-type:none;
margin:0;
padding:0;
overflow:hidden;
}
#ul-nb li{
float:left;
}
#ul-nb li a{
display:block;
padding:20px;
background-color:pink;
}
#ul-nb li:hover{
background:red;
opacity:0.3;
color:white;
}
</style>
</head>
<body>
<ul id="ul-nb">
<li><a href="A1.html">Home</a></li>
<li><a href="A2.html">Java</a></li>
<li><a href="A3.html">HTML</a></li>
<li><a href="B1.html">CSS</a></li>
<li><a> </a></li>
<li><a> </a></li>
<li><a> </a></li>
</ul>
</body>
</html>
Comments
Post a Comment