Table Heads


#1

Instructions

We have already created the element for you!

Inside the table heading element, add a single row using a

element.
Within this row, add two cells with the values Famous Monster and Birth Year.
Check out the example above to see what the structure should look like



Table Time

<body>

    <table border="1px">
       <thead>
        <tr>
<th colspan="3">Famous Monsters by Birth Year</th>
            <th>hulk</th>
            <th>1986</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>

Oops, try again. Did you add two table header cells within the row you just created within ? (Table header cells are

, not !)

What else do I need to past this code??


#2

@allell649

They are aking you
Within this row, add two cells with the values Famous Monster and Birth Year
and then you do

           <th>hulk</th>
           <th>1986</th>

Pleae read
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead
and
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table


#3

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