Html basics 3, 9. style the head HELP


#1




<body>

    <table style="border-collapse:collapse;">
        <thead>
            <tr>
                <th style= "color:red";th colspan="2"> <em>Famous Monster</em> by <em>Birth Year</em></th>

            </tr>
            <tr style="border-bottom:1px solid black;">
                <th style="padding:5px;">Famous Monster</th>
                <th style="padding:5px;border-left:1px solid black;">Birth Year</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td style="padding:5px;">King Kong</td>
                <td style="padding:5px;border-left:1px solid black;">1933</td>     
            </tr>

            <tr>
                <td style="padding:5px;">Dracula</td>
                <td style="padding:5px;border-left:1px solid black;">1897</td>
            </tr>

            <tr>
                <td style="padding:5px;">Bride of Frankenstein</td>
                <td style="padding:5px;border-left:1px solid black;">1944</td>
            </tr>
        </tbody>
    </table>

</body>

the code wont work?


#2

you have 3 th tags:

1. <th>famous monsters by birth year</th>
2. <th>famous monsters</th>
3. <th>birth year</th>

now, the exercise ask to add the em tags to 2 and 3, you added the th tags to 1 (the numbers are the numbers i used in the example above)