table Element
A table element in the object model of an HTML document represents a table of rows and columns, with an optional table header and table footer. When creating a document with HTML code in serialized form, use a <table> tag to create a table element.
HTMLTableElement interface
- Superinterface:
- HTMLElement
- HTML Tag Reference:
- <table> tag
DOM Interface Methods |
HTMLElement |
- table.createCaption()
|
HTMLElement |
- table.createTBody()
|
HTMLElement |
- table.createTHead()
|
void |
- table.deleteCaption()
|
void |
- table.deleteRow(long index)
|
void |
- table.deleteTHead()
|
HTMLElement |
- table.insertRow()
table.insertRow(long index)
|
DOM Events |
Event Type | Property | Supported |
abort | Function | onabort |
canplay | Function | oncanplay |
canplaythrough | Function | oncanplaythrough |
change | Function | onchange |
click | Function | onclick |
cuechange | Function | oncuechange |
dblclick | Function | ondblclick |
drag | Function | ondrag |
dragend | Function | ondragend |
dragenter | Function | ondragenter |
dragleave | Function | ondragleave |
dragover | Function | ondragover |
dragstart | Function | ondragstart |
drop | Function | ondrop |
durationchange | Function | ondurationchange |
emptied | Function | onemptied |
ended | Function | onended |
formchange | Function | onformchange |
forminput | Function | onforminput |
input | Function | oninput |
invalid | Function | oninvalid |
keydown | Function | onkeydown |
keypress | Function | onkeypress |
keyup | Function | onkeyup |
loadeddata | Function | onloadeddata |
loadedmetadata | Function | onloadedmetadata |
loadstart | Function | onloadstart |
mousedown | Function | onmousedown |
mousemove | Function | onmousemove |
mouseout | Function | onmouseout |
mouseover | Function | onmouseover |
mouseup | Function | onmouseup |
mousewheel | Function | onmousewheel |
pause | Function | onpause |
play | Function | onplay |
playing | Function | onplaying |
progress | Function | onprogress |
ratechange | Function | onratechange |
readystatechange | Function | onreadystatechange |
reset | Function | onreset |
seeked | Function | onseeked |
seeking | Function | onseeking |
select | Function | onselect |
show | Function | onshow |
stalled | Function | onstalled |
submit | Function | onsubmit |
suspend | Function | onsuspend |
timeupdate | Function | ontimeupdate |
volumechange | Function | onvolumechange |
waiting | Function | onwaiting |