0

can we ignore thead tbody and tfooter tag while creating table ...?

Hi guys why would u recommend someone to use thead tbody and tfooter tag . th and td gives the same result then why will we use it...?

15th May 2021, 12:05 PM
sparky
sparky - avatar
1 Odpowiedź
+ 2
can we ignore thead tbody and tfooter tag while creating table ...? They are not required by the standard. To your question, the answer is "yes because they are not necessary". By label a table row with <thead> , <tfoot> , <tbody> , you are grouping them without using ID or class. Allowing more style adjustments, such as fixed header and scroll-able body.
17th May 2021, 3:51 AM
NEZ
NEZ - avatar