Error in em tag .not able to understand.what goes on wrong


#1

code are given below.



<body>

    <table style="border-collapse:collapse;">
        <thead>
            <tr>
                <th  style="color:red"><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>


#2

couldn't you find this question? i answered it twice in the last few days. Anyway, you have 3 th tags:

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

you added your em tags to 1 (famous monster by birth year) you should have added them to famous monster and birth year (2 and 3)