English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The 'summary' attribute specifies the summary of the table content, and the 'summary' attribute has no visual effect in ordinary web browsers, but it can be used by screen readers.
The following HTML table defines the summary of the table content:
<style>table, th, td { border: 1px solid black;</style> <table summary="Student name and score"> <tr> <th>Name</th> <th>Credits</th> </tr> <tr> <td>Zhang San</td> <td>90</td> </tr> <tr> <td>Li Si</td> <td>87</td> </tr> </table>Test to see ‹/›
IEFirefoxOperaChromeSafari
The summary attribute has no visual effect in ordinary web browsers, but it can be used by screen readers.
HTML5 The summary attribute of <table> is not supported.
The summary attribute specifies the summary of the table content.
<table summary="text">
Value | Description |
---|---|
text | Summary of table content. |