<table summary="">

Type

The summary attribute of the TABLE element provides a summary (purpose and structure) of the table for non-visual browsers.


<table summary="summary text"></table>

Attribute Value Explanation
summary=" " text a summary of the table

Example


<table border="3" summary="Example of summary attribute.">
<caption>Summary attribute example</caption>
<tr>
<th>Column heading</th>
<th>Column heading</th>
<th>Column heading</th>
</tr>
<tr>
<td>Row1 - Col1</td>
<td>Row1 - Col2</td>
<td>Row1 - Col3</td>
</tr>
<tr>
<td>Row2 - Col1</td>
<td>Row2 - Col2</td>
<td>Row2 - Col3</td>
</tr>
<tr>
<td>Row3 - Col1</td>
<td>Row3 - Col2</td>
<td>Row3 - Col3</td>
</tr>
</table>

Output
Summary attribute example
Column heading Column heading Column heading
Row1 - Col1 Row1 - Col2 Row1 - Col3
Row2 - Col1 Row2 - Col2 Row2 - Col3
Row3 - Col1 Row3 - Col2 Row3 - Col3