I have problem becouse I want to surround some of td inside tr so I need to know.
td
tr
Which DOM elements can be child of tr? (I know div<
div<
W3C specify this stuff. For tr, you can find it here. Basically, only th and td elements can be direct contents of tr.
th
If you want other stuff inside your table, it has to go inside the td or th elements. For example, td can contain flow elements, including div.
div