Code the closing tags for <a> and <li>.

<html>
<body>
  Menu
  <ul>
   <li><a href="index.html">Contact</a></li>
  </ul>
</body>
</html>]]>

Make sure to type </a></li> in your code.