<!DOCTYPE html Public “-//w3c//DTD XHTML 1.0 Transitional//EN”
http://www.w3.org/TR/xhtml1/DTD/transitional.dtd>
<html>
<head>
<title>The Labyrinth</title>
</head>
<body>
<a name=”top”><h1>The Labyrinth: Old Books/New Readers</h1></a>
<blockquote>
“Reading is so fun”<br />
- Tom Wolfe, <cite>Books in NYC</cite>
</blockquote>
<p>The Labyrinth<br />
151 Varick St.<br />
Manhattan, NY 10013<br />
(212) 555-1234
</p>
<a name=”contents”><h2>Contents</h2></a>
<ul>
<il><a href=”#about”><h2>About The Labyrinth</a></li>
<li><a href=”#recent”><h2>Recent Titles</a><li>
<li><a href=”#upcoming”><h2>Upcoming Events</a><li>
</ul>
<hr />
<a name=”about”><h2>About The Labyrinth</h2></a>
<p>The Labyrinth is not the typical bookstore offering customers a maze with fantastic reads all the way through.
The Labyrinth offers:</p>
<ul>
<li>Dungeon walls and maze for the adventurous
<li>Courteous and helpful staff
<li>New releases and updated New York Times Best Seller section
</ul>
<p>Our hours are <strong>10am to 12pm</strong> weekdays,<strong>noon to 10<7</strong> on weekends.</p>
<p><a href=”contents”>Back To Contents</a> | <a href=”top”>Back to Top</a></p>
<hr />
<a name=”recent”><h2>Recent Titles (as of 17-Nov-2007)</h2></a>
<ul>
<li>Ian Ayers, <a href=”supercrunchers.html”>
<cite>Supercrunchers</cite></a></li>
<li>John Perkins, <a href=”confessions of an economic hitman.html”
<cite>Confessions of an Economic Hitman</cite></a></li>
</ul>
<p><a href=”#contents”>Back to Contents</a> <a href=”#top”> Back to Top</a></p>
<hr />
<a name=”upcoming”><h2>Upcoming Events</h2></a>
<ul>
<li><b>Coffee and Liquer</b>Show up between 5pm and 7pm on Wednesday and receive complimentary coffees and drinks(adults only).</li>
<li><b>Monday Madness</b>Monday Sale; buy any two books receive the third one for free.</li>
</ul>
<p><a href=”#contents”>Back to Contents</a> | <a href=”#top”>Back to Top</a></P>
<hr />
<address>
Last Updated: 17-Nov-2007<br />
Webmaster: Michael Westfield michael@thelabyrinth.com<br />
&#169; copyright 2007 the Labyrinth<br />
</address>
</body>
</html>

Recommended Answers

All 4 Replies

1. Line 20 - <il> should be <li>
2. Line 21/22 - end tags should be </li>, instead of <li>
3. Line 29/30/31 - add </li> to the end of each line
4. Line 34 - each href should begin with the pound sign... as in <code><a href="#contents"></code>

That's all I see, but it might help with a few of your issues. Anyone else?

for each <li> put closing </li> and also for each <h2> put closing </h2> tag.

i guess the first mistake are the missing code tags

Try this...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>The Labyrinth</title>
  </head>
  
  <body>
    
    <a name="top"><h1>The Labyrinth: Old Books/New Readers</h1></a>
    
    <blockquote>
      &quot;Reading is so fun&quot;<br />
      - Tom Wolfe, <cite>Books in NYC</cite>
    </blockquote>
    
    <p>
      The Labyrinth<br />
      151 Varick St.<br />
      Manhattan, NY 10013<br />
      (212) 555-1234
    </p>
    
    <a name="contents"><h2>Contents</h2></a>
    
    <ul>
      <li><a href="#about"><h2>About The Labyrinth</h2></a></li>
      <li><a href="#recent"><h2>Recent Titles</h2></a></li>
      <li><a href="#upcoming"><h2>Upcoming Events</h2></a></li>
    </ul>
    
    <hr />
    
    <a name="about"><h2>About The Labyrinth</h2></a>
    
    <p>
      The Labyrinth is not the typical bookstore offering customers a maze with fantastic reads all the way through.
      The Labyrinth offers:
    </p>
    
    <ul>
      <li>Dungeon walls and maze for the adventurous</li>
      <li>Courteous and helpful staff</li>
      <li>New releases and updated New York Times Best Seller section</li>
    </ul>
    
    <p>Our hours are <strong>10am to 12pm</strong> weekdays,<strong>noon to 10pm</strong> on weekends.</p>
    <p><a href="#contents">Back To Contents</a> | <a href="#top">Back to Top</a></p>
    
    <hr />
    
    <a name="recent"><h2>Recent Titles (as of 17-Nov-2007)</h2></a>
    
    <ul>
      <li>Ian Ayers, <a href="supercrunchers.html"><cite>Supercrunchers</cite></a></li>
      <li>John Perkins, <a href="confessions of an economic hitman.html"><cite>Confessions of an Economic Hitman</cite></a></li>
    </ul>
    
    <p><a href="#contents">Back To Contents</a> | <a href="#top">Back to Top</a></p>
    
    <hr />
    
    <a name="upcoming"><h2>Upcoming Events</h2></a>
    
    <ul>
      <li><b>Coffee and Liquer</b> Show up between 5pm and 7pm on Wednesday and receive complimentary coffees and drinks(adults only).</li>
      <li><b>Monday Madness</b> Monday Sale; buy any two books receive the third one for free.</li>
    </ul>
    
    <p><a href="#contents">Back To Contents</a> | <a href="#top">Back to Top</a></p>
    
    <hr />
    
    <address>
      Last Updated: 17-Nov-2007<br />
      Webmaster: Michael Westfield <a href="mailto:michael@thelabyrinth.com">michael@thelabyrinth.com</a><br />
      &copy; copyright 2007 the Labyrinth<br />
    </address>
    
  </body>
</html>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.