HTML Vertical Table Header
Duration: 5 min
This video lesson is available to enrolled students.
Enroll to watch — TPSC Assistant Technical Officer (ATO - CS) 2026
AI summary & chapters
AI Summary
An AI-generated summary of this video lecture.
This short HTML lesson explains how to create vertical table headers by using the <th> element in the first column of a row. The opening slide, titled “Vertical Table Headers,” states that HTML tables can have headers for each column or row, and shows a sample table with times 8:00 through 13:00 in the first column. A red hand-drawn arrow highlights that first column, emphasizing that making those cells <th> elements turns them into row headers. The lesson then moves to an “Example Vertical Table Headers” slide, which pairs HTML source code on the left with a rendered table on the right. The example uses rows such as “First Name | Anjali | Sharma” and “Lastname | Pooja | Joshi,” with red arrows pointing to the header cells. As the instructor progresses, red brackets and arrows trace the <table>, <tr>, <th>, and <td> tags to their matching cells in the rendered table. A handwritten note “align = center” appears beside a <tr> line, suggesting alignment styling for the row. Later frames add handwritten annotations such as <th>A</th>, <th>B</th>, <th>C</th>, and later <th>D</th> and <td></td> pairs, mapped onto a sketched grid labeled A, B, C across the top and D, E down the left column. This diagram helps students visualize how header cells and empty data cells combine to form a vertical layout. The final screenshot reinforces that <th> tags define the headers, while empty cells and structure create the vertical arrangement. Overall, the lesson focuses on a single core technique: placing header text in the first column using <th> to produce vertical table headers.
Chapters
0:00 – 2:00 00:00-02:00
The first window introduces the concept of vertical table headers. The slide titled “Vertical Table Headers” states that HTML tables can have headers for each column or row, and instructs: “To use the first column as table headers, define the first cell in each row as a <th> element.” A sample table shows times 8:00 through 13:00 in the first column, with a red hand-drawn double-headed arrow added along that column to highlight it. The lesson then transitions to an “Example Vertical Table Headers” slide, showing HTML code on the left and a rendered table on the right with rows “First Name | Anjali | Sharma” and “Lastname | Pooja | Joshi.” A red arrow points down at the “First Name” header cell, linking the code to its visual result.
2:00 – 4:31 02:00-04:31
The second window deepens the example by tracing HTML tags to rendered cells. Red brackets and arrows connect <table>, <tr>, <th>, and <td> tags in the code panel to their corresponding cells in the rendered table. A handwritten note “align = center” appears beside a <tr> line, indicating row alignment styling. As the frames progress, additional handwritten annotations such as <th>A</th>, <th>B</th>, and <th>C</th> are added, followed by <th>D</th> and <td></td> pairs. These map onto a sketched grid labeled A, B, C across the top and D, E down the left column, illustrating how header cells and empty data cells form a vertical layout. The final screenshot reiterates that <th> tags define the headers “First Name” and “Lastname,” while empty cells create the vertical structure.
The lesson teaches a single, focused HTML technique: creating vertical table headers by defining the first cell in each row as a <th> element. The progression moves from concept to example: the first slide explains the rule and uses a time-based table with a highlighted first column; the second slide shows actual code and its rendered output, using red arrows to connect tags like <th>First Name</th> and <td>Anjali</td> to their cells. The handwritten grid with labels A through E serves as a visual scaffold, helping students map abstract tags to concrete table positions. The “align = center” note introduces a minor styling detail, but the central idea remains structural: vertical headers are achieved by placing header text in the first column. This is a concise, diagram-driven explanation suitable for beginners learning HTML table semantics.