<body>
  <table>
  <tr>
    <td onmouseover="tdmover(this);" onmouseout="tdmout(this);">komórka 1-1</td>
    <td onmouseover="tdmover(this);" onmouseout="tdmout(this);">komórka 1-2</td>
    <td onmouseover="tdmover(this);" onmouseout="tdmout(this);">komórka 1-3</td>
  </tr>
  <!-- dalsze wiersze tabeli -->
</table>