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 ?
Where is the ”/me smash his head!!!”... ???
Forget to wrap the th in a tr…..
Sorry for the consumed bytes in the DB.
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.