How Can Design Menu in Html



Follow the following step you can easily create menu.
create html file in your favorite text editor, and copy pest the below code.

<!DOCTYPE html>
<html>
<head>
<style>
ul {
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

a {
    float: left;
    width: 96px;
    text-decoration: none;
    color: white;
    background-color: #666;
    padding: 4px 10px;
    border-right: 1px solid white;
}

a:hover {
    background-color:#feed01;
}

li {
    display: inline;
}
</style>
</head>
<body>

<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About us</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">Contacts</a></li>
</ul>

<p>from the above code you can design menu, you can also use this style sheet as
</br> external style sheet,
  that can optimise your code </p>

</body>
</html>


if you have still problem then please comment me..

Previous
Next Post »
Thanks for your comment