Example The following HTML table defines a summary of the content of the table: <table border="1" summary="Monthly ...
Example
The following HTML table defines a summary of the content of the table:<table border="1" summary="Monthly savings for the Flintstones family"> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>March</td> <td>$10</td> </tr> </table> |
Definition and Usage
The summary attribute specifies a summary of the content of a table.The summary attribute makes no visual difference in ordinary web browsers.
This attribute can be used by screen readers.
Browser Support
Since there is no visual difference in ordinary web browsers, it’s difficult to say whether or not they support the summary attribute.Syntax
<table summary="value"> |
Attribute Values
Value | Description |
---|---|
text | A summary of the content of the table |