Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

HTML DOM Table Summary Property

  • Last Updated : 04 Jan, 2022

The HTML DOM Table Summary Property is used to set or return the value of the summary attribute of a <table> element. The summary attribute is used to define the summary of the table. 

Note: This property is not supported by HTML5


  • It is used to return the Table Summary property.
  • It is used to set the Table Summary Property.

Property Values: It contains the single value i.e text which specify the summary of the table. 


Example: Below HTML code illustrates how to return the summary property. 


<!DOCTYPE html>
        Table Summary Property in HTML 
        td {
            border: 1px solid green;
        h1 {
            color: green;
        h2 {
            font-family: Impact;
        body {
            text-align: center;
    <h2>HTML DOM Table summary Property</h2>
    <table id="GFG" align="center" cellspacing="5" 
            <td>Fork Java</td>
            <td>Fork Python</td>
            <td>Sudo Placement</td>
    <button ondblclick="Table_Caption()">
        Return CellPadding
    <p id="sudo"></p>
        function Table_Caption() {
            var w = document.getElementById("GFG").summary;
            document.getElementById("sudo").innerHTML = w;


Supported Browsers:

  • Google Chrome
  • Opera
  • Internet Explorer
  • Firefox
  • Apple Safari

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!