Validation error: please help

I can’t figure out why this page will not validate.

I am using Javascript to trigger a php include that pulls in the following code to shows up in a Javascript rollover:

"<table width='700' border='0'> 
  <tr> 
    <td><a href='#'><img border='0' src='menuslices/gameMenu_r1_c1.jpg' alt='game_design_classes' width='227' height='49'></a></td> 
    <td><a href='#'><img border='0' src='menuslices/gameMenu_r2_c3.jpg' alt='games_for_sale' width='210' height='49'></a></td>  
    <td><a href='#'><img border='0' src='menuslices/gameMenu_r1_c3.jpg' alt='free_game_updates' width='208' height='49'></a></td>  
    <td><a href='#'><img border='0' src='menuslices/gameMenu_r1_c4.jpg' alt='sponsor_a_game' width='213' height='49'></a></td>  
  </tr> 
</table>"

it is saying that </a> and </td> are closing tags that are not open !!! how is that? I simply don’t understand it.

Please enlighten. Thanks.

The url :

http://www.mediabreeze.com/index.php


thanks in advance.

No problem since the rest of it was fine. :slight_smile:

THAT WAS IT… thank you!

Because it is a section of JavaScript directly within the HTML it expects; <\/a><\/td> and so forth for the closing tags so that’s all you need to fix the closing </tag> needs writing as <\/tag> for those sections.