Style that head

having trouble making the “Famous Monsters by Birth Year” title red.

you have to add a style and a color: red atribute to your <th>Famous Monsters by Birth Year</th> tag.

Famous Monsters by Birth Year how do I add it to that
<th style = "color:red">Famous Monsters by Birth Year</th> :)

what do I with the colspan

leave it as it is. your entire line should look something like this after you add style in it:

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

yay it worked thanks

it doesn’t explain why it works (any background info), so here you go: style and colspan are both attributes, and you can add as many attributes as you like. You just simply need to seperate them with a space, here is for example a image with 2 attributes:

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

you could easily more attributes once you understand this principal (3, 4 or even more attributes, no problem)

3 Likes