I am supposed to add a style attribute to this line of code but how do I do that when It already has a colspan


I tried to put another th in between but that was wrong too, and then I tried to just put the color attribute right after the 2.

<th colspan="2">Famous Monsters by Birth</th>


There is no restriction on how many attributes an element has (as long as they are allowed attributes).

<th colspan="2" style="color: red">

Notice the CSS style syntax inside the quotes.


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