In step 1 of this exercise, where should I create the table?


#1

Question

In step 1 of this exercise, where should I create the table?

Answer

Add opening and closing <table> tags after the <div> element on line 17.


FAQ: Learn HTML Tables - Tables - Create Table
#2

Hi , I created the <table> </table> after the <html> tag and still got this correct
Then I tried it again, with <table> after <html> and </table> at bottom, just above </html>

Im confused…which of them is correct and why .Pls assist


#3
<html>
<head>
<title>
</title>
<body>
<table>
</table>
</body>
</html>

#4

Because you are creating a blank table, it doesn’t really matter where it goes for purpose of this particular exercise only. That is to say, you’re not doing any damage to index.html; it’s no different than creating p-/p with nothing in it, or a blank div or span. So that’s why you’re not getting an error message; it’s just looking to see that somewhere you typed in table-/table.

However, ling is correct in that … assuming you eventually want your table printed out so that everyone can see it, you want it put between the body tags.