5. Table Headings


#1


https://codecademy.com/courses/learn-html-css/lessons/tables/exercises/table-headings?action=lesson_resume&link_content_target=interstitial_lesson


It is saying that I did I add three headings. I'm thinking that I did wondering if I can get some help on this.


<table>
    <tr>
      <td>Company Name</td>
      <td>Number of Items to Ship</td>
      <td>Next Action</td>
    </tr>  
    <tr>
      <td>Adam's Greenworks</td>
      <td>14</td>
      <td>Package Items</td>
    </tr>
  </table>


#2

You have the headings, but they are marked up as table data, rather than table heading cells.

<td>table data</td>

<th>table heading</th)

TH elements are multipurpose and can be used on columns and on rows. To tell the browser which range they apply to, we use the scope="col" and scope="row" attributes. No so important, just now, but good to know and I believe it is mentioned in the lessons.


#3

thank you for replying to this thread big help


#4
&& T F
T T F
F F F

#5

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