HTML CSS Reference/HTML Tag Reference/col

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

"col" 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 |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 overflow | | |padding padding-bottom | | |padding-left padding-right | | |padding-top 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 | +----------------+--------------------------------------------------------------+

     </source>
   
  


"col" Event Handlers

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Event |onLayoutComplete onReadyStateChange | +----------------+--------------------------------------------------------------+

     </source>
   
  


"col" Example

   <source lang="html4strict">
   

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

<col style="color:maroon"> <col style="color:red">
col 1: maroon col 2: red
col 1: maroon col 2: red

</body> </html>


     </source>
   
  


"col" HTML Attributes

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | HTML |align bgcolor | | Attributes |ch choff | | |class dir | | |id lang | | |span style | | |title valign | | |width | +----------------+--------------------------------------------------------------+

     </source>
   
  


"col" JavaScript Collections

   <source lang="html4strict">

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

     </source>
   
  


"col" JavaScript Methods

   <source lang="html4strict">

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

     </source>
   
  


"col" JavaScript Objects

   <source lang="html4strict">

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

     </source>
   
  


"col" JavaScript Properties

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | JavaScript |align canHaveChildren | | Properties |canHaveHTML ch | | |chOff className | | |clientHeight clientLeft | | |clientTop clientWidth | | |cursor dir | | |disabled firstChild | | |id innerHTML | | |isContentEditable isDisabled | | |isMultiLine isTextEdit | | |lang lastChild | | |nextSibling nodeName | | |nodeType nodeValue | | |offsetHeight offsetLeft | | |offsetParent offsetTop | | |offsetWidth outerHTML | | |ownerDocument parentElement | | |parentNode parentTextEdit | | |previousSibling readyState | | |scopeName scrollHeight | | |scrollLeft scrollTop | | |scrollWidth sourceIndex | | |span tagName | | |tagUrn title | | |uniqueID vAlign | | |width | +----------------+--------------------------------------------------------------+

     </source>
   
  


"col" Microsoft Behaviors

   <source lang="html4strict">

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

     </source>
   
  


"col" Syntax and Note

   <source lang="html4strict">

Note:

Specifies the properties of a column in a . Syntax: <col attributes events> </source>