Answers for "i cant have div around tr"

1

create block inside table html

"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>
Posted by: Guest on October-18-2020

Browse Popular Code Answers by Language