EN
此内容没有您的语言版本,但有英语版本。

summary attribute | summary property

Sets or retrieves a description and/or structure of the object.

Syntax

HTML<element summary="p" ... >
JavaScript

p = object.summary

 

Property values

Type: String

a description and/or structure of the object.

Remarks

summary was introduced in Microsoft Internet Explorer 6

This property can be used for rendering to non-visual media such as speech or Braille.

There is no functionality implemented for this property unless defined by the author.

Examples

The following example shows how to specify a summary property for a table.


<table summary="My Favorite European Cities with the Top City First">
<tr><th>My Favorite Cities</th></tr>
<tr><td>Paris, France</td></tr>
<tr><td>London, England</td></tr>
<tr><td>Rome, Italy</td></tr>
</table>

See also

table

 

 

显示:
© 2014 Microsoft