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

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML-Tabelle Summary-Attribut

Das Attribut "summary" gibt die Zusammenfassung des Tabelleninhalts an. Das Attribut "summary" hat in einem normalen Webbrowser keine visuelle Wirkung, kann aber von Screenreadern verwendet werden.

 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 names and scores">
  <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 see ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

The summary attribute has no visual effect in ordinary web browsers, but it can be used with 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