<! DOCTYPE HTML>
<!--  NewPage -->
<html lang="en">
<head>
<!--  Generated by javadoc -->
<title>HTMLTableElement (Java SE 12 &amp; JDK 12 )</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="org.w3c.dom.html. HTMLTableElement interface">
<meta name="keywords" content="getCaption()">
<meta name="keywords" content="setCaption()">
<meta name="keywords" content="getTHead()">
<meta name="keywords" content="setTHead()">
<meta name="keywords" content="getTFoot()">
<meta name="keywords" content="setTFoot()">
<meta name="keywords" content="getRows()">
<meta name="keywords" content="getTBodies()">
<meta name="keywords" content="getAlign()">
<meta name="keywords" content="setAlign()">
<meta name="keywords" content="getBgColor()">
<meta name="keywords" content="setBgColor()">
<meta name="keywords" content="getBorder()">
<meta name="keywords" content="setBorder()">
<meta name="keywords" content="getCellPadding()">
<meta name="keywords" content="setCellPadding()">
<meta name="keywords" content="getCellSpacing()">
<meta name="keywords" content="setCellSpacing()">
<meta name="keywords" content="getFrame()">
<meta name="keywords" content="setFrame()">
<meta name="keywords" content="getRules()">
<meta name="keywords" content="setRules()">
<meta name="keywords" content="getSummary()">
<meta name="keywords" content="setSummary()">
<meta name="keywords" content="getWidth()">
<meta name="keywords" content="setWidth()">
<meta name="keywords" content="createTHead()">
<meta name="keywords" content="deleteTHead()">
<meta name="keywords" content="createTFoot()">
<meta name="keywords" content="deleteTFoot()">
<meta name="keywords" content="createCaption()">
<meta name="keywords" content="deleteCaption()">
<meta name="keywords" content="insertRow()">
<meta name="keywords" content="deleteRow()">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<! --[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![ endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="HTMLTableElement (Java SE 12 & JDK 12 )";
        }
    }
    catch(err) {
    }
//-->
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!--  ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!--    -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!--    -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="../../../../module-summary.html">Module</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/HTMLTableElement.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><div style="margin-top: 14px;"><strong>Java SE 12 &amp; JDK 12</strong> </div></div>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
</div>
<a id="skip.navbar.top">
<!--    -->
</a>
<!--  ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!--  ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="moduleLabelInType">Module</span>&nbsp;<a href="../../../../module-summary.html">jdk.xml.dom</a></div>
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.w3c.dom.html</a></div>
<h2 title="Interface HTMLTableElement" class="title">Interface HTMLTableElement</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><code><a href="../../../../../java.xml/org/w3c/dom/Element.html" title="interface in org.w3c.dom">Element</a></code>, <code><a href="HTMLElement.html" title="interface in org.w3c.dom.html">HTMLElement</a></code>, <code><a href="../../../../../java.xml/org/w3c/dom/Node.html" title="interface in org.w3c.dom">Node</a></code></dd>
</dl>
<hr>
<pre>public interface <span class="typeNameLabel">HTMLTableElement</span>
extends <a href="HTMLElement.html" title="interface in org.w3c.dom.html">HTMLElement</a></pre>
<div class="block">The create* and delete* methods on the table allow authors to construct
 and modify tables.  HTML 4.0 specifies that only one of each of the
 <code>CAPTION</code> , <code>THEAD</code> , and <code>TFOOT</code>
 elements may exist in a table.  Therefore, if one exists, and the
 createTHead() or createTFoot() method is called, the method returns the
 existing THead or TFoot element.  See the  TABLE element definition in HTML
 4.0. 
 <p>See also the <a href='http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510'>Document Object Model (DOM) Level 2 Specification</a>.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.4, DOM Level 2</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!--  =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!--    -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.w3c.dom. Node">
<!--    -->
</a>
<h3>Fields declared in interface&nbsp;org.w3c.dom.<a href="../../../../../java.xml/org/w3c/dom/Node.html" title="interface in org.w3c.dom">Node</a></h3>
<code><a href="../../../../../java.xml/org/w3c/dom/Node.html#ATTRIBUTE_NODE">ATTRIBUTE_NODE</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#CDATA_SECTION_NODE">CDATA_SECTION_NODE</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#COMMENT_NODE">COMMENT_NODE</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#DOCUMENT_FRAGMENT_NODE">DOCUMENT_FRAGMENT_NODE</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#DOCUMENT_NODE">DOCUMENT_NODE</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#DOCUMENT_POSITION_CONTAINED_BY">DOCUMENT_POSITION_CONTAINED_BY</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#DOCUMENT_POSITION_CONTAINS">DOCUMENT_POSITION_CONTAINS</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#DOCUMENT_POSITION_DISCONNECTED">DOCUMENT_POSITION_DISCONNECTED</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#DOCUMENT_POSITION_FOLLOWING">DOCUMENT_POSITION_FOLLOWING</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC">DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#DOCUMENT_POSITION_PRECEDING">DOCUMENT_POSITION_PRECEDING</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#DOCUMENT_TYPE_NODE">DOCUMENT_TYPE_NODE</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#ELEMENT_NODE">ELEMENT_NODE</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#ENTITY_NODE">ENTITY_NODE</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#ENTITY_REFERENCE_NODE">ENTITY_REFERENCE_NODE</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#NOTATION_NODE">NOTATION_NODE</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#PROCESSING_INSTRUCTION_NODE">PROCESSING_INSTRUCTION_NODE</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#TEXT_NODE">TEXT_NODE</a></code></li>
</ul>
</li>
</ul>
</section>
<!--  ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!--    -->
</a>
<h3>Method Summary</h3>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t3" class="tableTab" onclick="show(4);">Abstract Methods</button></div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><code><a href="HTMLElement.html" title="interface in org.w3c.dom.html">HTMLElement</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createCaption()">createCaption</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new table caption object or return an existing one.</div>
</td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code><a href="HTMLElement.html" title="interface in org.w3c.dom.html">HTMLElement</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTFoot()">createTFoot</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a table footer row or return an existing one.</div>
</td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code><a href="HTMLElement.html" title="interface in org.w3c.dom.html">HTMLElement</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTHead()">createTHead</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a table header row or return an existing one.</div>
</td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deleteCaption()">deleteCaption</a></span>()</code></th>
<td class="colLast">
<div class="block">Delete the table caption, if one exists.</div>
</td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deleteRow(int)">deleteRow</a></span>&#8203;(int&nbsp;index)</code></th>
<td class="colLast">
<div class="block">Delete a table row.</div>
</td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deleteTFoot()">deleteTFoot</a></span>()</code></th>
<td class="colLast">
<div class="block">Delete the footer from the table, if one exists.</div>
</td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deleteTHead()">deleteTHead</a></span>()</code></th>
<td class="colLast">
<div class="block">Delete the header from the table, if one exists.</div>
</td>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><code><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAlign()">getAlign</a></span>()</code></th>
<td class="colLast">
<div class="block">Specifies the table's position with respect to the rest of the
 document.</div>
</td>
</tr>
<tr class="altColor" id="i8">
<td class="colFirst"><code><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBgColor()">getBgColor</a></span>()</code></th>
<td class="colLast">
<div class="block">Cell background color.</div>
</td>
</tr>
<tr class="rowColor" id="i9">
<td class="colFirst"><code><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBorder()">getBorder</a></span>()</code></th>
<td class="colLast">
<div class="block">The width of the border around the table.</div>
</td>
</tr>
<tr class="altColor" id="i10">
<td class="colFirst"><code><a href="HTMLTableCaptionElement.html" title="interface in org.w3c.dom.html">HTMLTableCaptionElement</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCaption()">getCaption</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the table's <code>CAPTION</code> , or void if none exists.</div>
</td>
</tr>
<tr class="rowColor" id="i11">
<td class="colFirst"><code><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCellPadding()">getCellPadding</a></span>()</code></th>
<td class="colLast">
<div class="block">Specifies the horizontal and vertical space between cell content and
 cell borders.</div>
</td>
</tr>
<tr class="altColor" id="i12">
<td class="colFirst"><code><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCellSpacing()">getCellSpacing</a></span>()</code></th>
<td class="colLast">
<div class="block">Specifies the horizontal and vertical separation between cells.</div>
</td>
</tr>
<tr class="rowColor" id="i13">
<td class="colFirst"><code><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFrame()">getFrame</a></span>()</code></th>
<td class="colLast">
<div class="block">Specifies which external table borders to render.</div>
</td>
</tr>
<tr class="altColor" id="i14">
<td class="colFirst"><code><a href="HTMLCollection.html" title="interface in org.w3c.dom.html">HTMLCollection</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRows()">getRows</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a collection of all the rows in the table, including all in
 <code>THEAD</code> , <code>TFOOT</code> , all <code>TBODY</code>
 elements.</div>
</td>
</tr>
<tr class="rowColor" id="i15">
<td class="colFirst"><code><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRules()">getRules</a></span>()</code></th>
<td class="colLast">
<div class="block">Specifies which internal table borders to render.</div>
</td>
</tr>
<tr class="altColor" id="i16">
<td class="colFirst"><code><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSummary()">getSummary</a></span>()</code></th>
<td class="colLast">
<div class="block">Description about the purpose or structure of a table.</div>
</td>
</tr>
<tr class="rowColor" id="i17">
<td class="colFirst"><code><a href="HTMLCollection.html" title="interface in org.w3c.dom.html">HTMLCollection</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTBodies()">getTBodies</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a collection of the defined table bodies.</div>
</td>
</tr>
<tr class="altColor" id="i18">
<td class="colFirst"><code><a href="HTMLTableSectionElement.html" title="interface in org.w3c.dom.html">HTMLTableSectionElement</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTFoot()">getTFoot</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the table's <code>TFOOT</code> , or <code>null</code> if none
 exists.</div>
</td>
</tr>
<tr class="rowColor" id="i19">
<td class="colFirst"><code><a href="HTMLTableSectionElement.html" title="interface in org.w3c.dom.html">HTMLTableSectionElement</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTHead()">getTHead</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the table's <code>THEAD</code> , or <code>null</code> if none
 exists.</div>
</td>
</tr>
<tr class="altColor" id="i20">
<td class="colFirst"><code><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWidth()">getWidth</a></span>()</code></th>
<td class="colLast">
<div class="block">Specifies the desired table width.</div>
</td>
</tr>
<tr class="rowColor" id="i21">
<td class="colFirst"><code><a href="HTMLElement.html" title="interface in org.w3c.dom.html">HTMLElement</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#insertRow(int)">insertRow</a></span>&#8203;(int&nbsp;index)</code></th>
<td class="colLast">
<div class="block">Insert a new empty row in the table.</div>
</td>
</tr>
<tr class="altColor" id="i22">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAlign(java.lang. String)">setAlign</a></span>&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;align)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i23">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBgColor(java.lang. String)">setBgColor</a></span>&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;bgColor)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i24">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBorder(java.lang. String)">setBorder</a></span>&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;border)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i25">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCaption(org.w3c.dom.html. HTMLTableCaptionElement)">setCaption</a></span>&#8203;(<a href="HTMLTableCaptionElement.html" title="interface in org.w3c.dom.html">HTMLTableCaptionElement</a>&nbsp;caption)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i26">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCellPadding(java.lang. String)">setCellPadding</a></span>&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;cellPadding)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i27">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCellSpacing(java.lang. String)">setCellSpacing</a></span>&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;cellSpacing)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i28">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFrame(java.lang. String)">setFrame</a></span>&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;frame)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i29">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRules(java.lang. String)">setRules</a></span>&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;rules)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i30">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSummary(java.lang. String)">setSummary</a></span>&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;summary)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i31">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTFoot(org.w3c.dom.html. HTMLTableSectionElement)">setTFoot</a></span>&#8203;(<a href="HTMLTableSectionElement.html" title="interface in org.w3c.dom.html">HTMLTableSectionElement</a>&nbsp;tFoot)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i32">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTHead(org.w3c.dom.html. HTMLTableSectionElement)">setTHead</a></span>&#8203;(<a href="HTMLTableSectionElement.html" title="interface in org.w3c.dom.html">HTMLTableSectionElement</a>&nbsp;tHead)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i33">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setWidth(java.lang. String)">setWidth</a></span>&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;width)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
</div>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.w3c.dom. Element">
<!--    -->
</a>
<h3>Methods declared in interface&nbsp;org.w3c.dom.<a href="../../../../../java.xml/org/w3c/dom/Element.html" title="interface in org.w3c.dom">Element</a></h3>
<code><a href="../../../../../java.xml/org/w3c/dom/Element.html#getAttribute(java.lang. String)">getAttribute</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#getAttributeNode(java.lang. String)">getAttributeNode</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#getAttributeNodeNS(java.lang. String,java.lang. String)">getAttributeNodeNS</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#getAttributeNS(java.lang. String,java.lang. String)">getAttributeNS</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#getElementsByTagName(java.lang. String)">getElementsByTagName</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#getElementsByTagNameNS(java.lang. String,java.lang. String)">getElementsByTagNameNS</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#getSchemaTypeInfo()">getSchemaTypeInfo</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#getTagName()">getTagName</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#hasAttribute(java.lang. String)">hasAttribute</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#hasAttributeNS(java.lang. String,java.lang. String)">hasAttributeNS</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#removeAttribute(java.lang. String)">removeAttribute</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#removeAttributeNode(org.w3c.dom. Attr)">removeAttributeNode</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#removeAttributeNS(java.lang. String,java.lang. String)">removeAttributeNS</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#setAttribute(java.lang. String,java.lang. String)">setAttribute</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#setAttributeNode(org.w3c.dom. Attr)">setAttributeNode</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#setAttributeNodeNS(org.w3c.dom. Attr)">setAttributeNodeNS</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#setAttributeNS(java.lang. String,java.lang. String,java.lang. String)">setAttributeNS</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#setIdAttribute(java.lang. String,boolean)">setIdAttribute</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#setIdAttributeNode(org.w3c.dom. Attr,boolean)">setIdAttributeNode</a>, <a href="../../../../../java.xml/org/w3c/dom/Element.html#setIdAttributeNS(java.lang. String,java.lang. String,boolean)">setIdAttributeNS</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.w3c.dom.html. HTMLElement">
<!--    -->
</a>
<h3>Methods declared in interface&nbsp;org.w3c.dom.html.<a href="HTMLElement.html" title="interface in org.w3c.dom.html">HTMLElement</a></h3>
<code><a href="HTMLElement.html#getClassName()">getClassName</a>, <a href="HTMLElement.html#getDir()">getDir</a>, <a href="HTMLElement.html#getId()">getId</a>, <a href="HTMLElement.html#getLang()">getLang</a>, <a href="HTMLElement.html#getTitle()">getTitle</a>, <a href="HTMLElement.html#setClassName(java.lang. String)">setClassName</a>, <a href="HTMLElement.html#setDir(java.lang. String)">setDir</a>, <a href="HTMLElement.html#setId(java.lang. String)">setId</a>, <a href="HTMLElement.html#setLang(java.lang. String)">setLang</a>, <a href="HTMLElement.html#setTitle(java.lang. String)">setTitle</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.w3c.dom. Node">
<!--    -->
</a>
<h3>Methods declared in interface&nbsp;org.w3c.dom.<a href="../../../../../java.xml/org/w3c/dom/Node.html" title="interface in org.w3c.dom">Node</a></h3>
<code><a href="../../../../../java.xml/org/w3c/dom/Node.html#appendChild(org.w3c.dom. Node)">appendChild</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#cloneNode(boolean)">cloneNode</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#compareDocumentPosition(org.w3c.dom. Node)">compareDocumentPosition</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getAttributes()">getAttributes</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getBaseURI()">getBaseURI</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getChildNodes()">getChildNodes</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getFeature(java.lang. String,java.lang. String)">getFeature</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getFirstChild()">getFirstChild</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getLastChild()">getLastChild</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getLocalName()">getLocalName</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getNamespaceURI()">getNamespaceURI</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getNextSibling()">getNextSibling</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getNodeName()">getNodeName</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getNodeType()">getNodeType</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getNodeValue()">getNodeValue</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getOwnerDocument()">getOwnerDocument</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getParentNode()">getParentNode</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getPrefix()">getPrefix</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getPreviousSibling()">getPreviousSibling</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getTextContent()">getTextContent</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#getUserData(java.lang. String)">getUserData</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#hasAttributes()">hasAttributes</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#hasChildNodes()">hasChildNodes</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#insertBefore(org.w3c.dom. Node,org.w3c.dom. Node)">insertBefore</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#isDefaultNamespace(java.lang. String)">isDefaultNamespace</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#isEqualNode(org.w3c.dom. Node)">isEqualNode</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#isSameNode(org.w3c.dom. Node)">isSameNode</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#isSupported(java.lang. String,java.lang. String)">isSupported</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#lookupNamespaceURI(java.lang. String)">lookupNamespaceURI</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#lookupPrefix(java.lang. String)">lookupPrefix</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#normalize()">normalize</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#removeChild(org.w3c.dom. Node)">removeChild</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#replaceChild(org.w3c.dom. Node,org.w3c.dom. Node)">replaceChild</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#setNodeValue(java.lang. String)">setNodeValue</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#setPrefix(java.lang. String)">setPrefix</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#setTextContent(java.lang. String)">setTextContent</a>, <a href="../../../../../java.xml/org/w3c/dom/Node.html#setUserData(java.lang. String,java.lang. Object,org.w3c.dom. UserDataHandler)">setUserData</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!--  ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!--    -->
</a>
<h3>Method Detail</h3>
<a id="getCaption()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCaption</h4>
<pre class="methodSignature"><a href="HTMLTableCaptionElement.html" title="interface in org.w3c.dom.html">HTMLTableCaptionElement</a>&nbsp;getCaption()</pre>
<div class="block">Returns the table's <code>CAPTION</code> , or void if none exists.</div>
</li>
</ul>
<a id="setCaption(org.w3c.dom.html. HTMLTableCaptionElement)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCaption</h4>
<pre class="methodSignature">void&nbsp;setCaption&#8203;(<a href="HTMLTableCaptionElement.html" title="interface in org.w3c.dom.html">HTMLTableCaptionElement</a>&nbsp;caption)</pre>
</li>
</ul>
<a id="getTHead()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTHead</h4>
<pre class="methodSignature"><a href="HTMLTableSectionElement.html" title="interface in org.w3c.dom.html">HTMLTableSectionElement</a>&nbsp;getTHead()</pre>
<div class="block">Returns the table's <code>THEAD</code> , or <code>null</code> if none
 exists.</div>
</li>
</ul>
<a id="setTHead(org.w3c.dom.html. HTMLTableSectionElement)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTHead</h4>
<pre class="methodSignature">void&nbsp;setTHead&#8203;(<a href="HTMLTableSectionElement.html" title="interface in org.w3c.dom.html">HTMLTableSectionElement</a>&nbsp;tHead)</pre>
</li>
</ul>
<a id="getTFoot()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTFoot</h4>
<pre class="methodSignature"><a href="HTMLTableSectionElement.html" title="interface in org.w3c.dom.html">HTMLTableSectionElement</a>&nbsp;getTFoot()</pre>
<div class="block">Returns the table's <code>TFOOT</code> , or <code>null</code> if none
 exists.</div>
</li>
</ul>
<a id="setTFoot(org.w3c.dom.html. HTMLTableSectionElement)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTFoot</h4>
<pre class="methodSignature">void&nbsp;setTFoot&#8203;(<a href="HTMLTableSectionElement.html" title="interface in org.w3c.dom.html">HTMLTableSectionElement</a>&nbsp;tFoot)</pre>
</li>
</ul>
<a id="getRows()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRows</h4>
<pre class="methodSignature"><a href="HTMLCollection.html" title="interface in org.w3c.dom.html">HTMLCollection</a>&nbsp;getRows()</pre>
<div class="block">Returns a collection of all the rows in the table, including all in
 <code>THEAD</code> , <code>TFOOT</code> , all <code>TBODY</code>
 elements.</div>
</li>
</ul>
<a id="getTBodies()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTBodies</h4>
<pre class="methodSignature"><a href="HTMLCollection.html" title="interface in org.w3c.dom.html">HTMLCollection</a>&nbsp;getTBodies()</pre>
<div class="block">Returns a collection of the defined table bodies.</div>
</li>
</ul>
<a id="getAlign()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAlign</h4>
<pre class="methodSignature"><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;getAlign()</pre>
<div class="block">Specifies the table's position with respect to the rest of the
 document.  See the  align attribute definition in HTML 4.0.  This
 attribute is deprecated in HTML 4.0.</div>
</li>
</ul>
<a id="setAlign(java.lang. String)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAlign</h4>
<pre class="methodSignature">void&nbsp;setAlign&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;align)</pre>
</li>
</ul>
<a id="getBgColor()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBgColor</h4>
<pre class="methodSignature"><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;getBgColor()</pre>
<div class="block">Cell background color.  See the  bgcolor attribute definition in HTML
 4.0.  This attribute is deprecated in HTML 4.0.</div>
</li>
</ul>
<a id="setBgColor(java.lang. String)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBgColor</h4>
<pre class="methodSignature">void&nbsp;setBgColor&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;bgColor)</pre>
</li>
</ul>
<a id="getBorder()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBorder</h4>
<pre class="methodSignature"><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;getBorder()</pre>
<div class="block">The width of the border around the table.  See the  border attribute
 definition in HTML 4.0.</div>
</li>
</ul>
<a id="setBorder(java.lang. String)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBorder</h4>
<pre class="methodSignature">void&nbsp;setBorder&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;border)</pre>
</li>
</ul>
<a id="getCellPadding()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCellPadding</h4>
<pre class="methodSignature"><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;getCellPadding()</pre>
<div class="block">Specifies the horizontal and vertical space between cell content and
 cell borders.  See the  cellpadding attribute definition in HTML 4.0.</div>
</li>
</ul>
<a id="setCellPadding(java.lang. String)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCellPadding</h4>
<pre class="methodSignature">void&nbsp;setCellPadding&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;cellPadding)</pre>
</li>
</ul>
<a id="getCellSpacing()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCellSpacing</h4>
<pre class="methodSignature"><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;getCellSpacing()</pre>
<div class="block">Specifies the horizontal and vertical separation between cells.  See
 the  cellspacing attribute definition in HTML 4.0.</div>
</li>
</ul>
<a id="setCellSpacing(java.lang. String)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCellSpacing</h4>
<pre class="methodSignature">void&nbsp;setCellSpacing&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;cellSpacing)</pre>
</li>
</ul>
<a id="getFrame()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFrame</h4>
<pre class="methodSignature"><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;getFrame()</pre>
<div class="block">Specifies which external table borders to render.  See the  frame
 attribute definition in HTML 4.0.</div>
</li>
</ul>
<a id="setFrame(java.lang. String)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFrame</h4>
<pre class="methodSignature">void&nbsp;setFrame&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;frame)</pre>
</li>
</ul>
<a id="getRules()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRules</h4>
<pre class="methodSignature"><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;getRules()</pre>
<div class="block">Specifies which internal table borders to render.  See the  rules
 attribute definition in HTML 4.0.</div>
</li>
</ul>
<a id="setRules(java.lang. String)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRules</h4>
<pre class="methodSignature">void&nbsp;setRules&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;rules)</pre>
</li>
</ul>
<a id="getSummary()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSummary</h4>
<pre class="methodSignature"><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;getSummary()</pre>
<div class="block">Description about the purpose or structure of a table.  See the
 summary attribute definition in HTML 4.0.</div>
</li>
</ul>
<a id="setSummary(java.lang. String)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSummary</h4>
<pre class="methodSignature">void&nbsp;setSummary&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;summary)</pre>
</li>
</ul>
<a id="getWidth()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWidth</h4>
<pre class="methodSignature"><a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;getWidth()</pre>
<div class="block">Specifies the desired table width.  See the  width attribute definition
 in HTML 4.0.</div>
</li>
</ul>
<a id="setWidth(java.lang. String)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setWidth</h4>
<pre class="methodSignature">void&nbsp;setWidth&#8203;(<a href="../../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;width)</pre>
</li>
</ul>
<a id="createTHead()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTHead</h4>
<pre class="methodSignature"><a href="HTMLElement.html" title="interface in org.w3c.dom.html">HTMLElement</a>&nbsp;createTHead()</pre>
<div class="block">Create a table header row or return an existing one.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A new table header element (<code>THEAD</code> ).</dd>
</dl>
</li>
</ul>
<a id="deleteTHead()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteTHead</h4>
<pre class="methodSignature">void&nbsp;deleteTHead()</pre>
<div class="block">Delete the header from the table, if one exists.</div>
</li>
</ul>
<a id="createTFoot()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTFoot</h4>
<pre class="methodSignature"><a href="HTMLElement.html" title="interface in org.w3c.dom.html">HTMLElement</a>&nbsp;createTFoot()</pre>
<div class="block">Create a table footer row or return an existing one.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A footer element (<code>TFOOT</code> ).</dd>
</dl>
</li>
</ul>
<a id="deleteTFoot()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteTFoot</h4>
<pre class="methodSignature">void&nbsp;deleteTFoot()</pre>
<div class="block">Delete the footer from the table, if one exists.</div>
</li>
</ul>
<a id="createCaption()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createCaption</h4>
<pre class="methodSignature"><a href="HTMLElement.html" title="interface in org.w3c.dom.html">HTMLElement</a>&nbsp;createCaption()</pre>
<div class="block">Create a new table caption object or return an existing one.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <code>CAPTION</code> element.</dd>
</dl>
</li>
</ul>
<a id="deleteCaption()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteCaption</h4>
<pre class="methodSignature">void&nbsp;deleteCaption()</pre>
<div class="block">Delete the table caption, if one exists.</div>
</li>
</ul>
<a id="insertRow(int)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>insertRow</h4>
<pre class="methodSignature"><a href="HTMLElement.html" title="interface in org.w3c.dom.html">HTMLElement</a>&nbsp;insertRow&#8203;(int&nbsp;index)
               throws <a href="../../../../../java.xml/org/w3c/dom/DOMException.html" title="class in org.w3c.dom">DOMException</a></pre>
<div class="block">Insert a new empty row in the table.  The new row is inserted
 immediately before and in the same section as the current
 <code>index</code> th row in the table.  If <code>index</code> is equal
 to the number of rows, the new row is appended.  In addition, when the
 table is empty the row is inserted into a <code>TBODY</code> which is
 created and inserted into the table.  Note.  A table row cannot be empty
 according to HTML 4.0 Recommendation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The row number where to insert a new row.  This index
   starts from 0 and is relative to all the rows contained inside the
   table, regardless of section parentage.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The newly created row.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../java.xml/org/w3c/dom/DOMException.html" title="class in org.w3c.dom">DOMException</a></code> - INDEX_SIZE_ERR: Raised if the specified index is greater than the
   number of rows or if the index is negative.</dd>
</dl>
</li>
</ul>
<a id="deleteRow(int)">
<!--    -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>deleteRow</h4>
<pre class="methodSignature">void&nbsp;deleteRow&#8203;(int&nbsp;index)
        throws <a href="../../../../../java.xml/org/w3c/dom/DOMException.html" title="class in org.w3c.dom">DOMException</a></pre>
<div class="block">Delete a table row.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - The index of the row to be deleted.  This index starts
   from 0 and is relative to all the rows contained inside the table,
   regardless of section parentage.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../java.xml/org/w3c/dom/DOMException.html" title="class in org.w3c.dom">DOMException</a></code> - INDEX_SIZE_ERR: Raised if the specified index is greater than or
   equal to the number of rows or if the index is negative.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!--  ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!--  ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!--    -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!--    -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="../../../../module-summary.html">Module</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/HTMLTableElement.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><div style="margin-top: 14px;"><strong>Java SE 12 &amp; JDK 12</strong> </div></div>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
</div>
<a id="skip.navbar.bottom">
<!--    -->
</a>
<!--  ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small><a href="https://bugreport.java.com/bugreport/">Report a bug or suggest an enhancement</a><br> For further API reference and developer documentation see the <a href="https://docs.oracle.com/pls/topic/lookup?ctx=javase12.0.2&amp;id=homepage" target="_blank">Java SE Documentation</a>, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.<br> Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.<br> <a href="../../../../../../legal/copyright.html">Copyright</a> &copy; 1993, 2019, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.<br>All rights reserved.  Use is subject to <a href="https://www.oracle.com/technetwork/java/javase/terms/license/java12.0.2speclicense.html">license terms</a> and the <a href="https://www.oracle.com/technetwork/java/redist-137594.html">documentation redistribution policy</a>.  <!--  Version 12.0.2+10 --></small></p>
</footer>
</body>
</html>
