added some ending html tags, </td>, </tr>, and </table>