<div> Tag help
I was trying to make a table like the one posted below. My idea was to have multiple tables and to have separate ID's for CSS styling. I get that I cannot is the <div> tag like this, but why? Also is there a better way to do this? FYI, I just started CSS so I know that there might be something higher leveled to work with. I am just trying to get a better understanding of each part before moving on. <table> <div> <tr> <td>1R 1C</td> <td>1R 2C</td> </tr> </div> <tr> <td>2R 1C</td> <td>2R 2C</td> </tr> </table> Here is a more detailed example of the idea I am working with: https://code.sololearn.com/WehPjI6GUBMI I tried this in the Playground and it showed an error that stated there was an unexpected tag that caused a voodoo effect. My confusion stems from where you can and cannot apply the <div> tag.