miami miami - 1 year ago 132
HTML Question

thead, tfoot and tbody order in HTML5

I was reading in a forum about

element that it must come after
element. In contrast I saw some people use the order
. So what is the correct and best to follow order?

Answer Source

Before HTML5, <tfoot> had to come after <thead> and before <tbody>. With HTML5, <tfoot> can come before <tbody> or after it. But there must be only one <tfoot> child of a <table> element, and it must be after <thead>.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download