The snippet of code provided has several errors.
(As far as I can tell)
You are opening the Table, but not closing.
Ditto the TR and the TD.
Then there is a strange line at the bottom...
<table><tbody><tr>
If they are meant to be the closers, then they are out of order and what is a
<tbody>
doing there?