Style that head


#1

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


#2

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


#3


how do I add it to that


#4
<th style = "color:red">Famous Monsters by Birth Year</th> :)

#5

what do I with the colspan


#6

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>

#7

yay it worked thanks


#8

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)