HTML CSS Reference/HTML Tag Reference/rt

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

"rt" CSS Attributes and JavaScript Style Properties

Names noted with an asterisk (*) are JavaScript properties only.
+----------------+--------------------------------------------------------------+
| CSS            |accelerator                     background-position-x         |
| Attributes     |background-position-y           behavior                      |
| and            |cursor                          direction                     |
| JavaScript     |display                         filter                        |
| Style          |float                           height                        |
| Properties     |layout-grid                     layout-grid-mode              |
|                |overflow                        overflow-x                    |
|                |overflow-y                      padding                       |
|                |padding-bottom                  padding-left                  |
|                |padding-right                   padding-top                   |
|                |pixelBottom(*)                  pixelHeight(*)                |
|                |pixelLeft(*)                    pixelRight(*)                 |
|                |pixelTop(*)                     pixelWidth(*)                 |
|                |posBottom(*)                    posHeight(*)                  |
|                |posLeft(*)                      posRight(*)                   |
|                |posTop(*)                       posWidth(*)                   |
|                |styleFloat(*)                   text-autospace                |
|                |text-overflow                   text-underline-position       |
|                |unicode-bidi                    width                         |
|                |word-wrap                       writing-mode                  |
|                |zoom                                                          |
+----------------+--------------------------------------------------------------+



"rt" Event Handlers

+----------------+--------------------------------------------------------------+
| Event          |onActivate                      onAfterUpdate                 |
| Handlers       |onBeforeActivate                onBeforeCut                   |
|                |onBeforeDeactivate              onBeforeEditFocus             |
|                |onBeforePaste                   onBeforeUpdate                |
|                |onBlur                          onClick                       |
|                |onContextMenu                   onControlSelect               |
|                |onCut                           onDblClick                    |
|                |onDeactivate                    onDragStart                   |
|                |onErrorUpdate                   onFilterChange                |
|                |onFocus                         onFocusIn                     |
|                |onFocusOut                      onHelp                        |
|                |onKeyDown                       onKeyPress                    |
|                |onKeyUp                         onMouseDown                   |
|                |onMouseEnter                    onMouseLeave                  |
|                |onMouseMove                     onMouseOut                    |
|                |onMouseOver                     onMouseUp                     |
|                |onMouseWheel                    onMove                        |
|                |onMoveEnd                       onMoveStart                   |
|                |onPaste                         onReadyStateChange            |
|                |onResizeEnd                     onResizeStart                 |
|                |onSelectStart                                                 |
+----------------+--------------------------------------------------------------+



"rt" Example

    
<html>
<head>
<title>ruby element example</title>
</head>
<body>
   <ruby>
       <span style="font-family:Verdana; font-size:14pt">This is the base text.</span>
       <rt>
       <span style="font-family:Times New Roman; font-size: 8pt; color:red">
       This is theruby text
       </span>
   </ruby>
</body>
</html>



"rt" HTML Attributes

+----------------+--------------------------------------------------------------+
| HTML           |accesskey                       class                         |
| Attributes     |contenteditable                 dir                           |
|                |disabled                        hidefocus                     |
|                |id                              lang                          |
|                |language                        name                          |
|                |style                           tabindex                      |
|                |title                           unselectable                  |
+----------------+--------------------------------------------------------------+



"rt" JavaScript Collections

+----------------+--------------------------------------------------------------+
| JavaScript     |behaviorUrns                    children                      |
| Collections    |filters                                                       |
+----------------+--------------------------------------------------------------+



"rt" JavaScript Methods

+----------------+--------------------------------------------------------------+
| JavaScript     |addBehavior                     blur                          |
| Methods        |componentFromPoint              fireEvent                     |
|                |focus                           getAttributeNode              |
|                |getExpression                   normalize                     |
|                |removeAttributeNode             removeBehavior                |
|                |removeExpression                setActive                     |
|                |setAttributeNode                setExpression                 |
+----------------+--------------------------------------------------------------+



"rt" JavaScript Properties

+----------------+--------------------------------------------------------------+
| JavaScript     |accessKey                       canHaveHTML                   |
| Properties     |className                       contentEditable               |
|                |cursor                          dir                           |
|                |disabled                        hideFocus                     |
|                |id                              innerHTML                     |
|                |innerText                       isContentEditable             |
|                |isDisabled                      isMultiLine                   |
|                |lang                            language                      |
|                |name                            offsetHeight                  |
|                |offsetLeft                      offsetParent                  |
|                |offsetTop                       offsetWidth                   |
|                |outerHTML                       outerText                     |
|                |parentElement                   readyState                    |
|                |scopeName                       tabIndex                      |
|                |tagName                         tagUrn                        |
|                |title                                                         |
+----------------+--------------------------------------------------------------+



"rt" Microsoft Behaviors

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



"rt" Microsoft Filters

+----------------+--------------------------------------------------------------+
| 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                     Shadow                        |
|                |Slide                           Spiral                        |
|                |Stretch                         Strips                        |
|                |Wave                            Wheel                         |
|                |Xray                            Zigzag                        |
+----------------+--------------------------------------------------------------+



"rt" Syntax and Note

Note:
This element works with the <ruby> element. 
The text following <rt> appears as a note to the base text displayed by the 
<ruby> element.
    
Syntax:
    
<ruby> base text <rt attributes events> ruby text </ruby>