Go to https://webaim.org/techniques/tables/data to learn more.
===Nest Nested and close closing tags===
Nest your tags properly, example if you open a TR close a TR, if you open a SPAN inside a TD make sure you close the SPAN before you close the TD.