HTML DOM Table frame Property Last Updated : 04 Jan, 2022 Comments Improve Suggest changes Like Article Like Report The HTML DOM Table frame property is used to set or return the value of the frame attribute of an <table> element. The frame attribute is used to specify the visibility of outside borders. Note: This property is not supported by HTML5 Syntax It is used to return the frame property. tableObject.frame; It is used to set the frame property. tableObject.frame="values"; Property values: void: It is used to hide the outside border.above: It is used to display the outside top border.below: It is used to display the outside bottom border.hsides: It is used to display the outside top and bottom border.vsides: It is used to display the outside left and right border.lhs: It is used to display the outside left border.rhs: It is used to display the outside right border.box: It is used to display all sides of the border.border: It is used to display all outside borders. Example: Below HTML code returns the table frame property. HTML <!DOCTYPE html> <html> <head> <style> table, td { border: 1px solid green; } h1 { color: green; } h2 { font-family: Impact; } body { text-align: center; } </style> </head> <body> <h1>GeeksforGeeks</h1> <h2>HTML DOM Table frame Property</h2> <table id="tableID" align="center" summary="courses@GeeksforGeeks" frame="void"> <thead> <tr> <th>Subject</th> <th>Courses</th> </tr> </thead> <tr> <td>Java</td> <td>Fork Java</td> </tr> <tr> <td>Python</td> <td>Fork Python</td> </tr> <tr> <td>Placements</td> <td>Sudo Placement</td> </tr> </table> <br> <button ondblclick="dblClick()"> Return CellPadding </button> <p id="paraID"></p> <script> function dblClick() { var w = document .getElementById("tableID").frame; document.getElementById( "paraID").innerHTML = w; } </script> </body> </html> Output: Supported Browsers: Google ChromeInternet ExplorerOperaSafariFirefox Comment More infoAdvertise with us Next Article HTML DOM Table frame Property M manaschhabra2 Follow Improve Article Tags : HTML HTML-DOM HTML-Property Similar Reads HTML DOM TableData headers Property The HTML | DOM TableData headers Property sets or return the value of a headers attribute. The headers attribute is used to specify the table cell containing Header information for the current data cell. Syntax: // To get the header's property. let hadersProperty = tabledataObject.headers;// To set 2 min read HTML DOM Table Header align Property The HTML DOM TableHeader align property is used to set or return the horizontal alignment of the content inside the table header.  It is not supported by HTML 5. Syntax: It returns the align property.TableHeaderobject.alignIt sets the align property.TableHeaderObject.align = "left|right|center|justi 2 min read HTML DOM Table rules Property The HTML DOM Table rules property is used to set or return the value of the rules attribute of the <table> tag. The rules attribute is used to define which part of the borders should be visible. Note: This property is no longer supported in HTML5. Syntax It returns the rules property. tableObj 2 min read HTML | DOM Table width Property The Table width property in HTML DOM is used to set or return the value of the width attribute of a table. Note: This property is not supported by HTML5. Syntax: It returns the width property of a table.tableObject.width;It is used to set the width property of a table.tableObject.width ="pixels"; At 2 min read HTML | DOM Table tHead Property The Table tHead property is used for returning a reference to the <thead> element of a table. The <thead> element is used for grouping the header content in an HTML table. It returns NULL if the <thead> element is not defined.Syntax tableObject.tHeadReturn Value : A reference to th 1 min read Like