HTML CSS Reference/HTML Tag Reference/tfoot
Содержание
- 1 "tfoot" CSS Attributes and JavaScript Style Properties
- 2 "tfoot" Event Handlers
- 3 "tfoot" Example
- 4 "tfoot" HTML Attributes
- 5 "tfoot" JavaScript Collections
- 6 "tfoot" JavaScript Methods
- 7 "tfoot" JavaScript Objects
- 8 "tfoot" JavaScript Properties
- 9 "tfoot" Microsoft Behaviors
- 10 "tfoot" Syntax and Note
"tfoot" CSS Attributes and JavaScript Style Properties
Names noted with an asterisk (*) are JavaScript properties only.
+----------------+--------------------------------------------------------------+
| CSS |!important background |
| Attributes |background-attachment background-color |
| and |background-image background-position |
| JavaScript |background-position-x background-position-y |
| Style |background-repeat behavior |
| Properties |clear color |
| |cursor direction |
| |display font |
| |font-family font-size |
| |font-style font-variant |
| |font-weight layout-grid |
| |layout-grid-mode letter-spacing |
| |line-height page-break-after |
| |page-break-before pixelBottom(*) |
| |pixelHeight(*) pixelLeft(*) |
| |pixelRight(*) pixelTop(*) |
| |pixelWidth(*) posBottom(*) |
| |posHeight(*) posLeft(*) |
| |posRight(*) posTop(*) |
| |posWidth(*) text-autospace |
| |text-decoration text-transform |
| |text-underline-position textDecorationBlink(*) |
| |textDecorationLineThrough(*) textDecorationNone(*) |
| |textDecorationOverline(*) textDecorationUnderline(*) |
| |unicode-bidi vertical-align |
| |visibility word-spacing |
| |z-index zoom |
+----------------+--------------------------------------------------------------+
"tfoot" Event Handlers
+----------------+--------------------------------------------------------------+
| Event |onActivate onBeforeActivate |
| Handlers |onBeforeCut onBeforeDeactivate |
| |onBeforePaste onBlur |
| |onClick onContextMenu |
| |onControlSelect onCut |
| |onDblClick onDeactivate |
| |onDragEnter onDragStart |
| |onFocus onFocusIn |
| |onFocusOut onHelp |
| |onKeyDown onKeyPress |
| |onKeyUp onLoseCapture |
| |onMouseDown onMouseEnter |
| |onMouseLeave onMouseMove |
| |onMouseOut onMouseOver |
| |onMouseUp onMouseWheel |
| |onMove onMoveEnd |
| |onMoveStart onPaste |
| |onPropertyChange onReadyStateChange |
| |onResizeEnd onResizeStart |
| |onSelectStart onTimeError |
+----------------+--------------------------------------------------------------+
"tfoot" Example
<html>
<head>
<title>tfoot, thead element examples</title>
</head>
<body>
<table width="500" border="8" cellspacing="5" cellpadding="5" align="center">
<thead style="color:blue" align="center">
<td>in the thead rows group.</td>
<td>in the thead rows group.</td>
<td>in the thead rows group.</td>
</thead>
<tbody>
<tr>
<td>in the tbody rows group.</td>
<td>in the tbody rows group.</td>
<td>in the tbody rows group.</td>
</tr>
<tr>
<td>in the tbody rows group.</td>
<td>in the tbody rows group.</td>
<td>in the tbody rows group.</td>
</tr>
</tbody>
<tfoot style="color:red" align="right">
<td>in the tfoot rows group.</td>
<td>in the tfoot rows group.</td>
<td>in the tfoot rows group.</td>
</tfoot>
</table>
</body>
</html>
"tfoot" HTML Attributes
+----------------+--------------------------------------------------------------+
| HTML |accesskey align |
| Attributes |begin bgcolor |
| |ch choff |
| |class dir |
| |end hidefocus |
| |id lang |
| |language style |
| |syncmaster systemBitrate |
| |systemCaptions systemLanguage |
| |systemOverdubOrSubtitle tabindex |
| |timecontainer title |
| |unselectable valign |
+----------------+--------------------------------------------------------------+
"tfoot" JavaScript Collections
+----------------+--------------------------------------------------------------+
| JavaScript |all attributes |
| Collections |behaviorUrns childNodes |
| |children rows |
+----------------+--------------------------------------------------------------+
"tfoot" JavaScript Methods
+----------------+--------------------------------------------------------------+
| JavaScript |addBehavior appendChild |
| Methods |applyElement attachEvent |
| |blur clearAttributes |
| |click cloneNode |
| |componentFromPoint contains |
| |deleteRow detachEvent |
| |fireEvent focus |
| |getAdjacentText getAttribute |
| |getAttributeNode getBoundingClientRect |
| |getClientRects getElementsByTagName |
| |getExpression hasChildNodes |
| |insertAdjacentElement insertBefore |
| |insertRow mergeAttributes |
| |moveRow normalize |
| |releaseCapture removeAttribute |
| |removeAttributeNode removeBehavior |
| |removeChild removeExpression |
| |removeNode replaceAdjacentText |
| |replaceChild replaceNode |
| |scrollIntoView setActive |
| |setAttribute setAttributeNode |
| |setCapture setExpression |
| |swapNode |
+----------------+--------------------------------------------------------------+
"tfoot" JavaScript Objects
+----------------+--------------------------------------------------------------+
| JavaScript |currentStyle runtimeStyle |
| Objects |style |
+----------------+--------------------------------------------------------------+
"tfoot" JavaScript Properties
+----------------+--------------------------------------------------------------+
| JavaScript |accessKey align |
| Properties |bgColor canHaveChildren |
| |canHaveHTML ch |
| |chOff className |
| |clientHeight clientLeft |
| |clientTop clientWidth |
| |cursor dir |
| |end firstChild |
| |hideFocus id |
| |innerHTML innerText |
| |isContentEditable isDisabled |
| |isMultiLine isTextEdit |
| |lang language |
| |lastChild nextSibling |
| |nodeName nodeType |
| |nodeValue offsetHeight |
| |offsetLeft offsetParent |
| |offsetTop offsetWidth |
| |outerHTML outerText |
| |ownerDocument parentElement |
| |parentNode parentTextEdit |
| |previousSibling readyState |
| |scopeName scrollHeight |
| |scrollLeft scrollTop |
| |scrollWidth sourceIndex |
| |tabIndex tagName |
| |tagUrn title |
| |uniqueID vAlign |
+----------------+--------------------------------------------------------------+
"tfoot" Microsoft Behaviors
+----------------+--------------------------------------------------------------+
| Microsoft |clientCaps download |
| Behaviors |homePage time |
| |time2 |
+----------------+--------------------------------------------------------------+
"tfoot" Syntax and Note
Note:
<table> elements can be divided into three parts: <thead>, <tbody>, and <tfoot>.
<thead> contains the rows in the table header.
<tbody> contains the rows in the table body.
<tfoot> contains the rows in the table footer.
Each of them can have different styles.
Syntax for <tfoot>:
<tfoot attributes events> . . . </tfoot>
Syntax for <thead>:
<thead attributes events> . . . </thead>
Syntax: