9. Style That Head


#1



This is the error I get: Oops, try again. Surround 'Famous Monster' with tags! I clearly have the em and /em tags. Please help.


<body>

    <table style="border-collapse:collapse;">
        <thead>
            <tr>
                <th colspan="2" style="color:red">Famous Monsters by Birth Year</th>
            </tr>
            <tr style="border-bottom:1px solid black;">
                <th style="padding:5px;"><strong><em>Famous Monster</em></strong></th>
                <th style="padding:5px;border-left:1px solid black;"><em>Birth Year</em></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

<strong><em>Famous Monster</em></strong>

remove <strong> tag
you are not told to do so


#4

Thank you so much! It worked, thank you. I feel stupid for not seeing that before.


<table style="border-collapse:collapse;">
    <thead>
        <tr>
            <th colspan="2" style="color:red">Famous Monsters by Birth Year</th>
        </tr>
        <tr style="border-bottom:1px solid black;">
            <th style="padding:5px;"><em>Famous Monster</em></th>
            <th style="padding:5px;border-left:1px solid black;"><em>Birth Year</em></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>



#5

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