You are here: Reference > HTML > attributes > summary (table)

summary attribute (table)

Browser support:
Specifies a summary of the data represented in a table.
The functionality of this attribute is not implemented in browsers. Typically used by applications that attach detailed information such as non-visual media (speech) to a table.
JavaScript page for this attribute: summary. You can find other example(s) there.

Possible values:

String that sets the summary text.
Default: this attribute has no default value.

Example HTML code 1:

This example illustrates the use of the summary attribute:
<table id="myTable" border="1px" summary="This table summarizes fruit costs.">
    <tr>
        <td>Apple</td>
        <td>Pear</td>
        <td>Peach</td>
    </tr>
    <tr>
        <td>12.74</td>
        <td>54.00</td>
        <td>45.00</td>
    </tr>
</table>
Did you find this example helpful? yes no

Supported by tags:

External links:

User Contributed Comments

Post Content

Post Content