HTML Basics 3 (8 Naming your table)
It keeps on saying this no matter what i do or change to the code "
Oops, try again. Did you add a colspan attribute to the
The question is:
Naming your table
Our table is missing a title. We want to add a title row that goes all the way across the top.
To do so, we need to use the colspan attribute for the
It looks like this:
Go to the Result view. We've added the title row for you, but it only spans 1 column right now.
Make the column span 2 columns with the colspan attribute. Adding the attribute colspan="2" to a
Return to the Result view again. Our title spans 2 columns now!
Can someone please tell me what i have done wrong and what i have to do?
Replace this line with your code. <html> <head> <title>Table Time</title> </head> <body> <table border="1px"> <thead> <tr> <t colspan="2">>Famous Monsters by Birth Year</th> </tr> <tr> <th>Famous Monster</th> <th>Birth Year</th> </tr> </thead> <tbody> <tr> <td>King Kong</td> <td>1933</td> </tr> <tr> <td>Dracula</td> <td>1897</td> </tr> <tr> <td>Bride of Frankenstein</td> <td>1935</td> </tr> </tbody> </table> </body> </html>