Exercise: Use appropriate markup for tables
Open the tutorial file gallery.php in your text editor and look for the table containing the photography prices (line 97),
<table border=1>
<tr>
<td></td>
<td>Industrial</td>
<td>Fashion</td>
<td>Lifestyle</td>
</tr>
<tr>
<td>Cost per day (£ )</td>
<td>1200</td>
<td>1500</td>
<td>1000</td>
</tr>
</table>
Mark up the columns and row headings with the th tag rather than the existing but inappropriate td tag.
<table border=1>
<tr>
<td></td>
<th>Industrial</th>
<th>Fashion</th>
<th>Lifestyle</th>
</tr>
<tr>
<th>Cost per day (£ )</th>
<td>1200</td>
<td>1500</td>
<td>1000</td>
</tr>
</table>
