Latest web development tutorials
 

HTML <table> summary Attribute

< HTML <table> tag

Example

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

<table 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 »

Definition and Usage

The <table> summary attribute is not supported in HTML5.

The summary attribute specifies a summary of the content of a table.


Browser Support

Attribute
summary Yes Yes Yes Yes Yes

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


Syntax

<table summary="text">

Attribute Values

Value Description
text A summary of the content of the table

< HTML <table> tag