FAQ: Learn HTML - Tables - Table Footer

This community-built FAQ covers the “Table Footer” exercise in Codecademy’s lessons on HTML.

Here are the most popular community questions on the exercise Table Footer:

Join the Discussion. We Want to Hear From You!

Have a new question or can answer someone else’s? Reply (reply) to an existing thread!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources about HTML in general? Go here!

Want to take the conversation in a totally different direction? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account, billing, Pro, or Pro Intensive? Reach out to our support team!

None of the above? Find out where to ask other questions here!

Other FAQs

The following are links to additional questions that our community has asked about this exercise:

  • This list will contain other frequently asked questions that aren’t quite as popular as the ones above.
  • Currently there have not been enough questions asked and answered about this exercise to populate this FAQ section.
  • This FAQ is built and maintained by you, the Codecademy community – help yourself and other learners like you by contributing!

Not seeing your question? It may still have been asked before – try searching for it by clicking the spyglass icon (search) in the top-right of this page. Still can’t find it? Ask it below by hitting the reply button below this post (reply).

I Know a bit of HTML and I’am re-capping the basics. I ran into a part that I don’t get.
It is the part , where you use two

for a line break. why?
Why not use a start bvreak and an where you want it

Why it’s not necessary to wrap the content of the element inside a

element as in the case for the ?

I realized when I played around and added more than one <tfoot> elements in one <table> , only the first one is treated as footer and brought to the very end of my table, subsequent <tfoot> elements added are treated like normal <tr> rows.
Is this correct observation or it’s more complex than that?

Why is that in in a thead you need tr to hold the info but not in the tfoot

1 Like

In the final row where we added a table footer should we also add a third empty column?

Is it necessary to use ‘tr’ as a child element of ‘tfoot’?

it seems it isn’t necessary to put tr as child element inside of tfoot, which is the case for thead element…

Why do we use for the Total rather than ? Wouldn’t Total be considered a header for that row, as it is not a company name as the column header suggests?