YouTip LogoYouTip

Prop Table Summary

```html

HTML DOM Table summary Property

-- Learn not only technology, but also dreams!

JavaScript Reference Manual

Overview

Browser Objects

DOM Objects

HTML Objects

HTML DOM Style Object

HTML DOM td / th Object

Table summary Property

Table Object

Definition and Usage

The summary property sets or returns the summary of a table.

The summary property sets or returns the summary of a table.

Syntax

To set the summary property:

tableObject.summary="text"

To return the summary property:

tableObject.summary

Note: The summary property has no default value.

Value Description
text The summary text

Browser Support

All major browsers support the summary property.

Example

Pop up the summary of the table:

function displayResult(){ Β Β Β Β alert(document.getElementById('myTable').summary); } Β Β Β Β  Β Β Β Β Β Β Β Β  Β Β Β Β Β Β Β Β  Β Β Β Β  Β Β Β Β  Β Β Β Β Β Β Β Β  Β Β Β Β Β Β Β Β  Β Β Β Β  Β Β Β Β  Β Β Β Β Β Β Β Β  Β Β Β Β Β Β Β Β  Β Β Β Β 
FirstnameLastname
PeterGriffin
JohnDoe

Try it yourself »

Table Object

HTML DOM Style Object

HTML DOM td / th Object

ByteArk Coding Plan

Supports mainstream large models such as Doubao, GLM, DeepSeek, Kimi, MiniMax, etc., directly supplied by ByteArk for stable and reliable service.

¥9.9 / month Subscribe Now

Xunfei Starry Coding Plan

Includes free model invocation quota, one-stop experience and deployment platform for DeepSeek, GLM, Kimi, MiniMax.

¥3.9 / month Subscribe Now

Share Notes

Category Navigation

Advertisement

Explore In Depth

← Prop Table TfootProp Table Rules β†’