HTML Basic III


#1

hello I stuck in lesson 8 ,,style and head'' I don;t know where is mistake when I clik submit then apprear this text - ''Oops, try again. Add a 'style' attribute to the first

tag! Set the value of this attribute to 'color:red;'''

this is my code- please help



Table Time

<body>

    <table style="border-collapse:collapse;">
        <thead>
            <tr>

<th colspan="2"; style ="color:green"; Famous Monsters and Birth Year




<th style="padding:5px;" Famous Monster
<th style="padding:5px; border-left:1px solid black"; <em style = "color:red"

Birth Year





King Kong
1933
            <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

Make sure you're styling the correct tag.


#3

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