0

Can somebody please explain to me why I'm getting this error message from the HTML validator? It's telling me I have a "th" tag in my table body but it CLEARLY is in the table head. Why am I getting this error?

Error

HTML Code

1

It's more about what's not there. Try adding <tr> tags like this:

<thead>
    <tr>
        <th>Symbol</th>
        <th>Name</th>
        <th>Shares</th>
        <th>Price</th>
        <th>TOTAL</th>
    </tr>
</thead>

If this answers your question, please click on the check to accept. Let's keep up on forum housekeeping. ;-)

1
  • That did it. Thanks! What's the significance of tr? My webpage was running just fine without it there. What purpose does it serve? – plumsmugler Oct 23 '15 at 19:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .