AmitDiwan has Published 10740 Articles

HTML DOM TableHeader abbr Property

AmitDiwan

AmitDiwan

Updated on 20-Sep-2019 10:43:20

71 Views

The HTML DOM TableHeader abbr property returns and modify the value of abbr attribute of a table in an HTML document.SyntaxFollowing is the syntax −1. Returning abbrobject.abbr2. Adding abbrobject.abbr = “text”Let us see an example of abbr property:Example Live Demo    body {       color: #000;   ... Read More

HTML DOM TableRow Object

AmitDiwan

AmitDiwan

Updated on 20-Sep-2019 10:39:14

127 Views

The HTML DOM TableRow Object represent the element of an HTML document.Create TableRow objectSyntaxFollowing is the syntax −document.createElement(“TR”);Properties of TableRow objectPropertyExplanationrowIndexIt returns the position of a row in the rows collection of a table.sectionRowIndexIt returns the position of a row in the rows collection of a thead, tbody, or ... Read More

HTML DOM TableHeader Object

AmitDiwan

AmitDiwan

Updated on 20-Sep-2019 10:32:21

109 Views

The HTML DOM TableHeader Object represent the element of an HTML document.Create TableHeader objectSyntaxFollowing is the syntax −document.createElement(“TH”);Properties of TableHeader objectPropertyExplanationcellIndexIt returns the position of a cell in the cell collection of a table row.colSpanIt returns and alter the value of colspan attribute of a table.headersIt returns and alter ... Read More

HTML DOM TableData Object

AmitDiwan

AmitDiwan

Updated on 20-Sep-2019 10:25:05

130 Views

The HTML DOM TableData Object represent the element of an HTML document.Create TableData objectSyntaxFollowing is the syntax −document.createElement(“TD”);Properties of TableData objectPropertyExplanationcellIndexIt returns the position of a cell in the cell collection of a table row.colSpanIt returns and alter the value of colspan attribute of a table.headersIt returns and alter ... Read More

HTML DOM TableData rowSpan Property

AmitDiwan

AmitDiwan

Updated on 20-Sep-2019 09:20:52

240 Views

The HTML DOM TableData rowSpan property returns and modify the value of rowspan attribute of a table in an HTML document.SyntaxFollowing is the syntax −1. Returning rowSpanobject.rowSpan2. Adding rowSpanobject.rowSpan = “number”Let us see an example of rowSpan property −Example Live Demo    body {       color: #000; ... Read More

HTML DOM Table tHead Property

AmitDiwan

AmitDiwan

Updated on 20-Sep-2019 09:10:08

152 Views

The HTML DOM table tHead property returns the element of the table in an HTML document.SyntaxFollowing is the syntax −object.tHeadLet us see an example of HTML DOM table tHead property −Example Live Demo    body {       color: #000;       background: lightblue;     ... Read More

HTML DOM Table tFoot Property

AmitDiwan

AmitDiwan

Updated on 20-Sep-2019 09:06:28

110 Views

The HTML DOM table tFoot property returns the element of the table in an HTML document.SyntaxFollowing is the syntax −object.tFootLet us see an example of HTML DOM table tFoot property −Example Live Demo    body {       color: #000;       background: lightblue;     ... Read More

HTML DOM Table tBodies Collection

AmitDiwan

AmitDiwan

Updated on 20-Sep-2019 09:02:27

171 Views

The HTML DOM table tBodies Collection returns a collection of all elements in a table in an HTML document.SyntaxFollowing is the syntax −object.tBodiesProperties of tBodies CollectionPropertyExplanationlengthIt returns the number of elements in the collection in an HTML documentProperties of tBodies CollectionMethodExplanation[index]It returns the specified index element from ... Read More

HTML DOM Table rows Collection

AmitDiwan

AmitDiwan

Updated on 20-Sep-2019 08:55:43

394 Views

The HTML DOM table rows Collection returns a collection of all elements of a table in an HTML document.SyntaxFollowing is the syntax −object.rowsProperties of rows Collectionelements in the collection in an HTML document.PropertyExplanationlengthIt returns the number of elements in the collection in an HTML document.Methods of rows Collectionelement ... Read More

HTML DOM Table deleteRow() Method

AmitDiwan

AmitDiwan

Updated on 20-Sep-2019 08:44:25

148 Views

The HTML DOM table deleteRow() method deletes a element from the table in an HTML document.SyntaxFollowing is the syntax −object.deleteRow(index)Here, index represent a number that specifies the position of the row to delete.Let us see an example of HTML DOM table deleteRow() method −Example Live Demo    body ... Read More

Advertisements