HTML Introduction to HTML and CSS Adding a New Web Page Test: Link It Up Challenge

dinesh kumar
PRO
dinesh kumar
Pro Student 6,447 Points

whats wrong with my code

i placed menu.html as a link text

index.html
<!doctype html> 
<html>
  <head>
    <title>Al's Restaurant</title>
  </head>
  <body>
        <ul class="nav">
          <li><a href="#">Home</a></li>
          <li><a href="food-gallery.html">Food Gallery</a></li>
          <li><a herf="menu.html">Menu</a></li>
        </ul>
  </body>
</html>

3 Answers

Tomáš Komprs
Tomáš Komprs
12,205 Points

You have syntax error. You type HERF instead of HREF.

<li><a herf="menu.html">Menu</a></li>