HTML <table> summaryAttribute

HTML table 标签参考手册HTML <table> tag

Examples

The following HTML table defines a summary of the table content:

<table border="1" summary="Monthly savings for the Flintstones family">
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
</table>

Try it Yourself »

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

The summary attribute has no visual effect in ordinary web browsers, but can be used by screen readers.


Definition and Usage

HTML5 does not support the <table> summary attribute.

The summary attribute specifies a summary of the table content.


Syntax

<table summary="text">

Attribute Values

Value Description
text A summary of the table content.


HTML table 标签参考手册HTML <table> tag Other Extensions