Search w3schools.com:

SHARE THIS PAGE

HTML <table> summary Attribute

HTML table Reference HTML <table> tag

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>January</td>
    <td>$100</td>
  </tr>
</table>

Try it yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

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


Definition and Usage

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

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


Syntax

<table summary="text">

Attribute Values

Value Description
text A summary of the content of the table


HTML table Reference HTML <table> tag

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]