Table body is it the sam thing as div?

sorry i juste didn’t understand why we can use table body , is that work like div?? if no so what??
https://www.codecademy.com/courses/learn-html/lessons/html-tables/exercises/table-body

Hi again,

Just as the lesson stated, the <tbody> tag is used to single out the main data of a table. The <div> tag is used to section out parts of a webpage for styling.

<tbody> =/= <div>

I don’t know if you’ve covered semantics yet, but you can relate <tbody> to <main>–which specifies the main content of a webpage.

1 Like

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.