Tables : Lesson 5
Schedule
Lets prepare a schedule using tables.
Schedule | Mon | Tue | Wed | Thu | Fri |
Morning | Free | Free | Busy | Free | Free |
Afternoon | Busy |
Evening | Free | Busy |
Overnight |
Early AM | Sleeping |
<table border = "border">
<caption>Schedule</caption>
<tr>
<th></th>
<th>Mon</th>
<th>Tue</th>
<th>Wed</th>
<th>Thu</th>
<th>Fri</th>
</tr>
<tr>
<th>Morning</th>
<td>Free</td>
<td rowspan="4">Free</td>
<td rowspan="4">Busy</td>
<td rowspan="2">Free</td>
<td rowspan="4">Free</td>
</tr>
<tr>
<th>Afternoon</th>
<td>Busy</td>
</tr>
<tr>
<th>Evening</th>
<td rowspan="2">Free</td>
<td rowspan="2">Busy</td>
</tr>
<tr>
>th>Overnight</th>
</tr>
<tr>
<th>Early AM</th>
<td colspan="5" align="center">Sleeping</td>
</tr>
</table>
You learned this in Lesson 2. This is how you can use colspan or rowspan to suite your needs.