HTML CSS Reference/HTML Tag Reference/th

Материал из Web эксперт
Перейти к: навигация, поиск

"th" CSS Attributes and JavaScript Style Properties

   <source lang="html4strict">

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 |border border-bottom | | |border-bottom-color border-bottom-style | | |border-bottom-width border-color | | |border-left border-left-color | | |border-left-style border-left-width | | |border-right border-right-color | | |border-right-style border-right-width | | |border-style border-top | | |border-top-color border-top-style | | |border-top-width border-width | | |clear clip | | |color cursor | | |direction display | | |filter font | | |font-family font-size | | |font-style font-variant | | |font-weight hasLayout(*) | | |height layout-flow | | |layout-grid layout-grid-char | | |layout-grid-line layout-grid-mode | | |layout-grid-type letter-spacing | | |line-break line-height | | |margin margin-bottom | | |margin-left margin-right | | |margin-top min-height | | |padding padding-bottom | | |padding-left padding-right | | |padding-top page-break-after | | |page-break-before pixelBottom(*) | | |pixelHeight(*) pixelLeft(*) | | |pixelRight(*) pixelTop(*) | | |pixelWidth(*) posBottom(*) | | |posHeight(*) position | | |posLeft(*) posRight(*) | | |posTop(*) posWidth(*) | | |text-align text-autospace | | |text-decoration text-indent | | |text-justify text-transform | | |text-underline-position textDecorationBlink(*) | | |textDecorationLineThrough(*) textDecorationNone(*) | | |textDecorationOverline(*) textDecorationUnderline(*) | | |unicode-bidi vertical-align | | |visibility word-break | | |word-spacing word-wrap | | |writing-mode z-index | | |zoom | +----------------+--------------------------------------------------------------+

     </source>
   
  


"th" Event Handlers

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Event |onActivate onBeforeActivate | | Handlers |onBeforeCopy onBeforeCut | | |onBeforeDeactivate onBeforePaste | | |onBlur onClick | | |onContextMenu onControlSelect | | |onCopy onCut | | |onDblClick onDeactivate | | |onDragEnter onDragStart | | |onFilterChange onFocus | | |onFocusIn onFocusOut | | |onHelp onKeyDown | | |onKeyPress onKeyUp | | |onLoseCapture onMouseDown | | |onMouseEnter onMouseLeave | | |onMouseMove onMouseOut | | |onMouseOver onMouseUp | | |onMouseWheel onMove | | |onMoveEnd onMoveStart | | |onPaste onPropertyChange | | |onReadyStateChange onResizeEnd | | |onResizeStart onScroll | | |onSelectStart onTimeError | +----------------+--------------------------------------------------------------+

     </source>
   
  


"th" Example

   <source lang="html4strict">
   

<html> <head> <title>th element example</title> </head> <body>

Bold and centered text
first column second column third column
       

</body> </html>


     </source>
   
  


"th" HTML Attributes

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | HTML |abbr accesskey | | Attributes |align axis | | |background begin | | |bgcolor bordercolor | | |ch choff | | |class colspan | | |dir end | | |headers height | | |hidefocus id | | |lang language | | |nowrap rowspan | | |scope style | | |syncmaster systemBitrate | | |systemCaptions systemLanguage | | |systemOverdubOrSubtitle tabindex | | |timecontainer title | | |valign width | +----------------+--------------------------------------------------------------+

     </source>
   
  


"th" JavaScript Collections

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | JavaScript |all attributes | | Collections |behaviorUrns childNodes | | |filters | +----------------+--------------------------------------------------------------+

     </source>
   
  


"th" JavaScript Methods

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | JavaScript |addBehavior appendChild | | Methods |applyElement attachEvent | | |blur clearAttributes | | |click cloneNode | | |componentFromPoint contains | | |detachEvent fireEvent | | |focus getAdjacentText | | |getAttribute getAttributeNode | | |getBoundingClientRect getClientRects | | |getElementsByTagName getExpression | | |hasChildNodes insertAdjacentElement | | |insertAdjacentHTML insertAdjacentText | | |insertBefore mergeAttributes | | |normalize releaseCapture | | |removeAttribute removeAttributeNode | | |removeBehavior removeChild | | |removeExpression removeNode | | |replaceAdjacentText replaceChild | | |replaceNode scrollIntoView | | |setActive setAttribute | | |setAttributeNode setCapture | | |setExpression swapNode | +----------------+--------------------------------------------------------------+

     </source>
   
  


"th" JavaScript Objects

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | JavaScript |currentStyle runtimeStyle | | Objects |style | +----------------+--------------------------------------------------------------+

     </source>
   
  


"th" JavaScript Properties

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | JavaScript |abbr accessKey | | Properties |align axis | | |background bgColor | | |borderColor borderColorDark | | |borderColorLight canHaveChildren | | |canHaveHTML cellIndex | | |ch chOff | | |className clientHeight | | |clientLeft clientTop | | |clientWidth colSpan | | |cursor dir | | |end firstChild | | |hasLayout headers | | |height hideFocus | | |id innerHTML | | |innerText isContentEditable | | |isDisabled isMultiLine | | |isTextEdit lang | | |language lastChild | | |nextSibling nodeName | | |nodeType nodeValue | | |noWrap offsetHeight | | |offsetLeft offsetParent | | |offsetTop offsetWidth | | |outerHTML outerText | | |ownerDocument parentElement | | |parentNode parentTextEdit | | |previousSibling readyState | | |rowSpan scope | | |scopeName scrollHeight | | |scrollLeft scrollTop | | |scrollWidth sourceIndex | | |tabIndex tagName | | |tagUrn title | | |uniqueID vAlign | | |width | +----------------+--------------------------------------------------------------+

     </source>
   
  


"th" Microsoft Behaviors

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Microsoft |clientCaps download | | Behaviors |homePage time | | |time2 | +----------------+--------------------------------------------------------------+

     </source>
   
  


"th" Microsoft Filters

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Microsoft |Alpha Barn | | Filters |BasicImage BlendTrans | | |Blinds Blur | | |CheckerBoard Chroma | | |Compositor DropShadow | | |Emboss Engrave | | |Fade FlipH | | |FlipV Glow | | |GradientWipe Gray | | |ICMFilter Inset | | |Invert Iris | | |Light MaskFilter | | |Matrix MotionBlur | | |Pixelate RadialWipe | | |RandomBars RandomDissolve | | |RevealTrans Slide | | |Spiral Stretch | | |Strips Wave | | |Wheel Xray | | |Zigzag | +----------------+--------------------------------------------------------------+

     </source>
   
  


"th" Syntax and Note

   <source lang="html4strict">

Note: This element creates a single cell as a table heading. This cell must have a colspan attribute, whose value is equal to the number of cells in subsequent table rows. The text in this element appears in bold and is aligned to the center by default.

Syntax:

<th attributes events> . . . </th>


     </source>