Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed HTML Tables!
You have completed HTML Tables!
Preview
The table header cell element helps to differentiate between header cells and regular table data. This is helpful for search engine crawlers and screen readers, as well as for CSS styling.
HTML Elements
- <th> - The table header cell helps label a group of cells in either a column or a row.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
our first row is actually an attempt to
label each of our columns.
0:00
Right now, the first row simply looks like
more data with name, email and job role.
0:00
We can use a table header cell element on
each of these
0:06
three columns to tell the browser, search
engine crawlers, and screen readers.
0:10
That these are actually headers and not
just regular data.
0:15
So, let's do that now.
0:19
So, let's scroll down in our workspace.
0:22
And lets take a look at this first table
row.
0:25
I'm going to open a preview and right now
this just looks like more data.
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up