Check out example codes for "create block inside table html". It will help you in understanding the concepts better.

Code Example 1

"div" tag can not be used above "tr" tag. Instead you can use "tbody" tag to 
do your work.
<table>
    <tbody class="green">
        <tr>
            <td>Data</td>
        </tr>
    </tbody>
    <tbody class="blue">
        <tr>
            <td>Data</td>
        </tr>
    </tbody>
</table>

Learn ReactJs, React Native from akashmittal.com