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...?
1 ответ
+ 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.