一:一个例子认识表格的 scope和header
表格主要元素
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<style type="text/css">
#myCanvas {
background: red;
width: 200px;
height: 100px;
}
</style>
</head>
<body>
<table>
<tr>
<th></th>
<th id='Saturday' scope='col'>Saturday</th>
<th id='Sunday' scope='col'>Sunday</th>
</tr>
<tr>
<th id='Morning' scope='row'>Morning</th>
<td headers='Saturday Morning'> Baking bread: loaves,
croissants and muffins.</td>
<td headers='Sunday Morning'>Eggs 4 ways: boiled,
scrambled, poached, fried </td>
</tr>
<tr>
<th id="Afternoon" scope='row'>Afternoon</th>
<td headers='Saturday Afternoon'>Sweet treats:
pancakes and waffles.</td>
<td headers='Sunday Afternoon'>Fry pan specials:
Fritters and hash browns.</td>
</tr>
</table>
</body>
</html>