The <tfoot> element of <table> does not apply.

Asked 1 years ago, Updated 1 years ago, 76 views

...
<table>
    <caption>...
    </caption>
    <thead>...
    </thead>
    <tbody>...
    </tbody>
    <tfoot>
        <small>&#8251; Note 1&#41; I wanted to comment on the contentㅁㅠ</small>
    </tfoot>
</table>
...

<table> I'm doing a mission, but <tfoot> is not applied to Chrome.
When you open Chrome's developer tool, you will see the following results:

...
<small>&#8251; Note 1&#41; I wanted to comment on the contentㅁㅠ</small>
<table>
    <caption>...
    </caption>
    <thead>...
    </thead>
    <tbody>...
    </tbody>
    <tfoot>

    </tfoot>
</table>
...

That's why I don't know if I don't use <tfoot> even if I search and look it up.
Instead of <small>, you can try <tr> I want to know why!

fast-frontend html table tfoot

2022-09-22 19:04

2 Answers

There is no closing tag for the tfoot element you created This is a problem that has occurred. Check it out. So a grammar test is required.

As shown in the image below, the <tfoot> element should be properly output to the browser.

By any chance? Would you like to check the results of the HTML table markup grammar test you wrote?


2022-09-22 19:04

tfoot must precede tbody.

...
<tfoot></tfoot>
<tbody></tbody>
...

It should be in the same order as .


2022-09-22 19:04

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.