HTML and CSS Reference
In-Depth Information
10. Set the anchor text of these links to the page names: Home, About, News, Menu, Locations, and Sitemap.
11. Set the href attributes on these links to point to the relevant HTML file: index.html , about.html ,
news.html , menu.html , locations.html , and sitemap.html .
12. Set the title attribute on these links to contain a description of the page you are linking to. You can use
the same description that you used when building the navigation in Chapter 3.
13. Save the sitemap.html file.
Here is how your code should now look. You can also find this code in the locations.html file in folder 6.
<section id="page-text">
<h1>Sitemap</h1>
<ul id="sitemap">
<li>
<a href="index.html" title="Joe's Pizza Co.">
Home
</a>
</li>
<li>
<a href="about.html"
title="Find out more about Joe's Pizza Co.">
About
</a>
</li>
<li>
<a href="news.html"
title="Latest News about Joe's Pizza Co.">
News
</a>
</li>
<li>
<a href="menu.html"
title="The restaurant menu for Joe's Pizza Co.">
Menu
</a>
</li>
<li>
<a href="locations.html"
title="Joe's Pizza Co. restaurant locations.">
Locations
</a>
</li>
<li>
<a href="sitemap.html"
title="Links to all the pages on this website “>
Sitemap
</a>
</li>
</ul>
</section>
Search WWH ::




Custom Search