How is it done?


#1

I am building a website with some pages, which are html pages of their own. The list for the header is a UL type chart with the names of the pages as list items. HOW do I code the list items so they will direct a visitor to the page sought after?


#2

Each <li> would contain an anchor <a> element with the page URL as the href attribute.

<ul>
   <li><a href="home.html">Home</a></li>
   <li><a href="about.html">About</a></li>
   <li><a href="contact.html">Contact Us</a></li>
</ul>

This is a fairly basic, standard navigation.


Thanks SO much for all of your help!
#3

Yes it is. I had just forgotten about putting info in between the quotes. This fixed the problem. Thanks again!


#4

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.