welcome to tutorialfamily

css navigation

css navigation used for redirect one page to another.

vertical navigation and horizontal navogation.


horizontal navigation

  • horizontal navigation – Used for a horizontal navigation
  • vertical navigation –Used for a vertical navigation

horizontal navigation


						        
<!DOCTYPE html>
<html>
<head>
<style>
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #666;
}
li {
  float: left;
}
li a {
  display: block;
  color: white;
  text-align: center;
  padding: 15px;
  text-decoration: none;
}
li a:hover {
  background-color: gray;
}
</style>
</head>
<body>
<ul>
  <li><a href="#">Home</a></li>
  <li><a href="#">About</a></li>
  <li><a href="#">Service</a></li>
  <li><a href="#">Portfolio</a></li>
</ul>
</body>
</html> 


Run

Our Content