| < Day Day Up > |
|
Additionally, we could add the summary attribute to the <table> tag, further explaining the purpose and contents of what is contained in our table. The summary is especially helpful for those using nonvisual means to read the information.
The following shows the summary attribute and value added to our table example:
<table summary="This table is a chart of all Boston Red Sox World Series wins." > <caption>Boston Red Sox World Series Championships</caption> <tr> <td align="center"><b>Year</b></td> <td align="center"><b>Opponent</b></td> <td align="center"><b>Season Record (W-L)</b></td> </tr> <tr> <td>1918</td> <td>Chicago Cubs</td> <td>75-51</td> </tr> <tr> <td>1916</td> <td>Brooklyn Robins</td> <td>91-63</td> </tr> <tr> <td>1915</td> <td>Philadelphia Phillies</td> <td>101-50</td> </tr> <tr> <td>1912</td> <td>New York Giants</td> <td>105-47</td> </tr> </table>
| < Day Day Up > |
|