Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 6: Navigating with HTML Links and Structuring Data with Tables!
Instruction
Merging Table Cells
When you want to combine table cells to create spanning headers or consolidate data, you use the colspan
and rowspan
attributes. Merging cells allows a table to display hierarchical or grouped information clearly.
Code Example with Merged Cells:
<table>
<thead>
<tr>
<th rowspan="2">Book</th>
<th colspan="4">Sales by Region</th>
</tr>
<tr>
...