xhtmlw3csemantic-markupw3c-validation

Is it necessary to have <tbody> in every table?


According to standards, is it necessary to have <tbody> in every table?


Solution

  • Only if you define thead and tfoot. It is mostly used when the table has multiple bodies of content. If the data in the table is easily understood to be the tbody then you can safely omit it.