A conference schedule is naturally tabular when attendees need to compare sessions by time or location. Column headers help visitors find the right entry.
What You Need to Know
Use caption to identify the schedule and th for row or column labels. A list might be better for a simple agenda with no comparison columns.
The goal is not to collect as many tags as possible. Pick the element that best describes what the content really is.
Example: See It in Action
Take a look at this small piece of HTML. You can use it in a practice document and change the text to make it your own.
This is a short HTML fragment. To try it as a webpage, put it inside the body element of a complete HTML document.
<table>
<caption>Science conference schedule</caption>
<thead>
<tr>
<th scope="col">Time</th>
<th scope="col">Session</th>
</tr>
</thead>
<tbody>
<tr>
<td>09:00</td>
<td>Welcome talk</td>
</tr>
</tbody>
</table>
Let’s Understand the Example
- Table represents information whose row and column relationships matter.
- Caption gives the whole data table a clear name.
- Thead groups the rows used as the table header.
- Scope explains which table row, column or group a th cell labels.
Look at a data cell and ask: “What row and column does this value belong to?” The header elements help answer that question, including for people who navigate the table with a screen reader.
What Should You See?
The page should include “Science conference schedule”. If it looks different from what you expected, open developer tools and compare the source with the elements the browser created.
Try removing one piece of markup in a scratch copy, refresh the page, and compare the behavior. This is often the fastest way to understand what that piece contributes.
Try It Yourself
- Add a second session and, if useful, a Room column.
- Save your changes, open or refresh the page, and compare the result with the original example.
- Tell a friend what your change did. If you are not sure, undo it, refresh the page, and compare.
Common Beginner Mistakes
- Using td for every cell and leaving the time column without header relationships.
- Avoid picking tags just for their default bold, italic or spaced appearance. Use CSS for presentation.
Key Takeaways
- A conference schedule is naturally tabular when attendees need to compare sessions by time or location.
- Table represents information whose row and column relationships matter.
- Use caption to identify the schedule and th for row or column labels. A list might be better for a simple agenda with no comparison columns.