HTML Basics III question 9


Hi Guys, I cannot figure our how to make these words red for instruction 01 for question 9 in HTML Basics III.

How do I make this line of code red? The strong and emphasized text is easy I just cannot understand how to add style to this as it already has the value of "colspan"

01 - Make the "Famous Monster" and "Birth Year" labels emphasized (i.e. make them italicized).
02 - Make the "Famous Monsters by Birth Year" title red.


    <table style="border-collapse:collapse;">
                <th colspan="2">Famous Monsters by Birth Year</th>
            <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>
                <td style="padding:5px;">King Kong</td>
                <td style="padding:5px;border-left:1px solid black;">1933</td>     

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

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



here is an example of an image with 2 attributes:

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

now, i think you can use this knowledge to have two attributes (colspan and style) in one th opening tag


Thank you so much that really made thing clear! thank you I just understood a whole lot more)


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


very good you understand, you can even have 3 or 4 or even more attributes on one html element. also, if you want to show code on the forum you can insert 3 backticks before and after the code:

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

or if you want inline code you can use a single backtick:

some inline code: `<span>i am inline code</p>`, then you can just add more text here

the backtick is located on the key above tab on your keyboard


Thank you so much for this you awesome:)