zaterdag 2 augustus 2014

How to Create Navigation with CSS

Navigation is one of the most important parts of any website. Poor navigation can lead to user abandonment and if your website is something that makes you money, that translates into lost income. Follow the steps provided in this tutorial to create basic navigation with CSS. If you are looking to create a navigation drop-down menu with CSS, HTML and Jquery then please see our drop down menu tutorial.


Steps to create navigation with CSS


1. First of all, create an html file. You may use any IDE like notepad or notepad ++ or Adobe Dreamweaver to create an html file. In this tutorial, we are using plain notepad that is available on any Windows PC. Open notepad any type following code:


<html>

<head>

<title>CSS tutorial – 9</title>

<link rel=”stylesheet” type=”text/css” href=”css/style.css” />

</head>

<body>

<ul id=”navigation”>

<li><a href=”index.html”>Home</li>

<li><a href=”#”>About Us</li>

<li><a href=”#”>Gallery</li>

<li><a href=”#”>Contact Us</li>

</ul>

</body>

</html>