![]() ![]() |
5.5:H305004 Provide summaries for tables.Improper designThere was no usage of summary in the TABLE label providing the table summary explanation. Improper design: <TABLE border="1"> <CAPTION> Temperature and in-far red level in the main cities of Taiwan </CAPTION> <TR> <TH>main cities</TH> <TH>temperature</TH> <TH>in-far red level</TH> </TR> <TR> <TD>Taipei</TD> <TD>35 degree</TD> <TD>average</TD> </TR> <!--brief table content--> </TABLE> End of example Proper demonstrationUse of summary to provide detailed table explanation. Proper example: <TABLE border="1" summary="in the table of temperature and in-far red level in Taiwan cities, the first column represent main cities, the second column represent temperature, and the third column represent in-far red level"> <CAPTION> Temperature and in-far red level in Taiwan cities </CAPTION> <TR> <TH>main cities</TH> <TH>temperature</TH> <TH>in far-red level</TH> </TR> <TR> <TD>Taipei</TD> <TD>35 degree</TD> <TD>average</TD> </TR> <!--brief table content--> </TABLE> End of example Proper example: <TABLE border="1" summary="the table of traveling expenses by Xiao-Chong Wang and Da-Ming Wu, there are five columns in the table, the first column represent the expense date, the second to the fifth columns represent the date of food expenses, living expenses, transportation expenses, and subtotal, the last row represent total expenses"> <CAPTION>traveling expense table</CAPTION> <TR> <TH></TH> <TH id="a2" axis="expense">food expenses</TH> <TH id="a3" axis="expense">living expenses</TH> <TH id="a4" axis="expense">transportation expenses</TH> <TD>subtotal</TD> </TR> <TR> <TH id="a6" axis="name">Xiao-Chong Wang</TH> <TH></TH> <TH></TH> <TH></TH> <TD></TD> </TR> <TR> <TD id="a7" axis="date">October 18, 2003</TD> <TD headers="a6 a7 a2">350</TD> <TD headers="a6 a7 a3">1200</TD> <TD headers="a6 a7 a4">240</TD> <TD></TD> </TR> <TR> <TD id="a8" axis="date">October 19, 2003</TD> <TD headers="a6 a8 a2">400</TD> <TD headers="a6 a8 a3">1500</TD> <TD headers="a6 a8 a4">300</TD> <TD></TD> </TR> <TR> <TD>subtotal</TD> <TD>750</TD> <TD>2700</TD> <TD>540</TD> <TD>3990</TD> </TR> <TR> <TH id="a10" axis="name">Da-Ming Lee</TH> <TH></TH> <TH></TH> <TH></TH> <TD></TD> </TR> <TR> <TD id="a11" axis="date">October 20, 2003</TD> <TD headers="a10 a11 a2">310</TD> <TD headers="a10 a11 a3">1350</TD> <TD headers="a10 a11 a4">320</TD> <TD></TD> </TR> <TR> <TD id="a12" axis="date">October 21, 2003</TD> <TD headers="a10 a12 a2">440</TD> <TD headers="a10 a12 a3">1740</TD> <TD headers="a10 a12 a4">230</TD> <TD></TD> </TR> <TR> <TD>subtotal</TD> <TD>750</TD> <TD>3090 </TD> <TD>550</TD> <TD>4390</TD> </TR> <TR> <TH>total</TH> <TD>1500</TD> <TD>5790</TD> <TD>1090</TD> <TD>8380</TD> </TR> </TABLE> End of example |
![]() |