Hi am trying to add a div above every If we follow the w3 org table reference ,and follow the Permitted Contents section, we can see that the So i reckon it is safe to say we cannot add a Having said that , as we follow the above link , you will find that it is safe to use but when i look at the html console the div are showing outside the table. below is the html code.
table
tags takes tbody
(optional) and tr
as the only permitted contents.div
tag which is a flow content as a direct child of the table
which i understand is what you meant when you had said above a tr
.div
s inside the td
element as seen here