English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

Complete List of HTML Tags

HTML table summary attribute

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.

 HTML <table> tag

Online Example

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 ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

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

Definition and Usage

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

The summary attribute specifies the summary of the table content.

Syntax

<table summary="text">

Attribute value

ValueDescription
textSummary of table content.
 HTML <table> tag