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?
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.
4 Likes
Yes it is. I had just forgotten about putting info in between the quotes. This fixed the problem. Thanks again!
2 Likes
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.