What am I doing wrong on HTML Basic lll style that head!


#1




<body>

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

you have to put around Famous Monster <em>..</em>

befor the style="color:red" put a semicolon ";"


#3

the color must like that
<th colspan="2"; style="color:red">Famous Monsters by Birth Year</th>


#4

You used strong tags around Famous Monsters:

<th style="padding:5px;"><strong>Famous Monster</strong></th>

this should be ` tags.

color and style are both attributes which can be add to the same opening tag (<th> in this case), like wizmarco demonstrated but without the semi-colon:

<th colspan="2" style="color:red">Famous Monsters by Birth Year</th>

@wizmarco, attributes are separated by spaces, no semi-colons, you use semi-colons when you want to separate multiply style elements:

<p style="color: red; font-size: 16px;">

and spaces only when you have multiply attributes:

<img src="#" alt="my_image">

#5

Thanks for the help I think I got it now


#7

I get this message. Surround 'Birth Year' with tags!
i have done it. What am i doing wrong?


#8

Hi also around Birth Year you should put <em></em>


#9

gosh I'm sorry! My brain is apparently not working after 10 straight hours of this! Thanks a lot!!


#10

Your welcome I'm glad that I could help you.


#11

Thanks! It was driving me nuts!


#12