November 2015
Beginner to intermediate
840 pages
26h 30m
English
<nav> Menu in HTML and Hardcoding Our LinksThe HTML we start with to create our navigation is shown in Example 6.15.
Example 6.15: Project Code
templates/base.html in ddc1da1f62
24 <nav> 25 <ul> 26 <li> 27 <a href=""> 28 Blog</a></li> 29 <li> 30 <a href=""> 31 Startups</a></li> 32 <li> 33 <a href=""> 34 Tags</a></li> 35 </ul> 36 </nav>
We have a three-item list, each of which is a link to one of our list pages. As with our HTML anchor tags before, we have left the href attributes unspecified. Our URL configuration for the list of startup objects ...
Read now
Unlock full access