<table>标签的summary属性设置了表格的表格内容的摘要。HTML5 已不支持summary属性。在Web浏览器中没有视觉效果,但可以通过屏幕阅读器使用。
本案例设置了表格摘要为"我的表格"
<table border="1" summary="我的表格"> <tr> <th>教程</th> <th>学习天数</th> </tr> <tr> <td>php</td> <td>7天</td> </tr> <tr> <td>HTML</td> <td>6天</td> </tr> </table>
<table summary="摘要内容"></table>