HTML Basics III Table Heads


#1

https://www.codecademy.com/courses/web-beginner-en-f8mcL/1/2?curriculum_id=50579fb998b470000202dc8b


oops, try again. Did you add a new table row within < t head> </ thead>


<html>
    <thead>
     <tr>
       <th>
         Famous Monster 
       </th>
       <th>
         Favourite Color
       </th>
      </tr>
    </thead>
        <title>Table Time</title>
    
    <body>
        
        <table border="1px">
            <thead>
                
            </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>


#2

Hi this part

<thead>
    <tr>
	<th>
	    Famous Monster 
	</th>
	<th>
	    Favourite Color
	</th>
    </tr>
</thead>

should be inside the <body></body> tag


#3

@hina04

I think it is better, if one understands the concept.

It all start's with you,
using a Browser
in which you load a HTML-file,
which we will call the HTML-Document.

This document has a minimal build of

<!DOCTYPE html>
  <html>
     <head>
          <title> </title>
     </head>
     <body>
     <!-- here you place your <table></table> -->
     </body>
  </html>


#4

Thank you! fixed it :slight_smile:


#5

Thanks, didn't read the instructions properly :blush:


#6

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