Please visit our sponsors !
The Table object
The Table object represents a <table> tag.
Table Object Examples
Properties
Property |
Description |
border |
Sets or returns the width of a table
border |
caption |
Returns the caption of a table |
cellPadding |
Sets or returns the space between the
cell border and the cell content |
cellSpacing |
Sets or returns the space between cells |
frame |
Specifies which borders to render |
rows |
Returns all the rows in a
table |
rules |
Specifies which borders to render |
summary |
Sets or returns a description of a table |
tBodies |
Returns all the tbody
elements in a table |
tFoot |
Returns the tfoot element of a table |
tHead |
Returns the thead element of a table |
width |
Sets or returns the width of a table |
Methods
Method |
Description |
createCaption() |
Creates a table caption or
returns the existing caption |
createTFoot() |
Creates a table footer or
returns the existing footer |
createTHead() |
Creates a table header or returns the existing header |
deleteCaption() |
Deletes the existing table caption |
deleteTFoot() |
Deletes the existing table footer |
deleteTHead() |
Deletes the existing table header |
deleteRow(index) |
Deletes the specified table row |
insertRow(index) |
Inserts a table row at the specified row number |
Jump to: Top of Page
or HOME or
Printer friendly page
Search W3Schools:
What Others Say About Us
Does the world know about us? Check out these places:
Dogpile
Alta Vista
MSN
Google
Excite
Lycos
Yahoo
Ask Jeeves
We Help You For Free. You Can Help Us!
W3Schools is for training only. We do not warrant its correctness or its fitness for use.
The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our
terms of use and
privacy policy.
Copyright 1999-2002 by Refsnes Data. All Rights Reserved
|