HTML basics 3 Namming your table


#1


<html>
<th><colspan="2"><title>list</title></colspan>
</th>
    <head>
        <title>Table Time</title>
    </head>
    
    <body>
        
        <table border="1px">
            <thcolspan="2"
                </th>
            </thcolspan></thcolspan>
            <thead>
                <tr>
                    <th>Famous Monsters by Birth Year</th>
                </tr>
                <tr>
                    <th>Famous Monster</th>
                    <th>Birth Year</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>King Kong</td>
                    <td>1933</td>     
                </tr>
                
                <tr>
                    <td>Dracula</td>
                    <td>1897</td>
                </tr>
                
                <tr>
                    <td>Bride of Frankenstein</td>
                    <td>1935</td>
                </tr>
            </tbody>
        </table>
        
    </body>

</html>


#2

@pycoder69365,
All of your table definition's lines should be between the <body></body> Tags

Please read
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_started/Tables
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.