<th> and </th> functions


#1

I’m doing the Clickable Photo Page lesson, from HTML & CSS, but i’m having some problems with the code guys…

Lesson URL :

https://www.codecademy.com/pt-BR/courses/web-beginner-pt-BR-mlg37/0/4?curriculum_id=5355c39d516bcbd91200000a#

Code :

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>My Photos</title>
	</head>
	<body>
	<table>
	<th>IT DOESN'T WORK !
	<tr>
	<td></td>
	<td></td>
	<td></td>
	</tr>
	<tr>
	<td></td>
	<td></td>
	<td></td>
	</tr>
	<tr>
	<td></td>
	<td></td>
	<td></td>
	</tr>
	</th>
	</table>
	</body>
</html>

What am i doing wrong? Can i solve this problem? Thanks for the support :smiley:


#2

The problem may be that you have not used <thead> and <tbody> tags.
I did this project and the instructions say to use the table header and table body tags and you have not done this, so that may be the problem. Try this and let me know if it works!


#3

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