It was working because browsers automatically assume one <td> element ends when finding a </tr> tag without a </td>.