226 posts
  • Helped protect Envato Market against copyright violations
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in Canada
  • Made it to the Authors' Hall of Fame
+5 more
simonbouchard
says

Hello,

I don’t know what to do from now… I always got the following error when validating my work with W3C .

Line 126, Column 11: th start tag in table body.

                    <table id="table-a">
                        <caption>Super Caption!</caption>
                        <thead>
                            <th>Item 1</th> <-- This is line 126
                            <th>Item 3</th>
                            <th>Item 4</th>
                        </thead>
                        <tbody>
                            <tr>
                                <td class="left">Value</td>
                                <td class="price">Price</td>
</tr></tbody></table>

My Doctype (HTML5)

<!DOCTYPE html SYSTEM>
<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
</html>

Anyone, any idea ?

226 posts
  • Helped protect Envato Market against copyright violations
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in Canada
  • Made it to the Authors' Hall of Fame
+5 more
simonbouchard
says

OK!....

Where is the ”/me smash his head!!!”... ???

Forget to wrap the th in a tr…..

Sorry for the consumed bytes in the DB.

GRRR

1 post
  • Located in Argentina
cssgonzalo
says

Thanks a lot for your mistake Simon! I know you posted this 5 years ago, but TODAY I´m starting to learn html and css and I have the same validation problem as you. And my error was the same as yours.

I created this account just to thank you.

by
by
by
by
by
by