HTML CSS Reference/HTML Tag Reference/dt

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

"dt" CSS Attributes and JavaScript Style Properties

Names noted with an asterisk (*) are JavaScript properties only.
+----------------+--------------------------------------------------------------+
| CSS            |!important                      :first-letter                 |
| Attributes     |:first-line                     accelerator                   |
| and            |background                      background-attachment         |
| JavaScript     |background-color                background-image              |
| Style          |background-position             background-position-x         |
| Properties     |background-position-y           background-repeat             |
|                |behavior                        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                        |
|                |float                           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                left                          |
|                |letter-spacing                  line-break                    |
|                |line-height                     margin                        |
|                |margin-bottom                   margin-left                   |
|                |margin-right                    margin-top                    |
|                |overflow                        overflow-x                    |
|                |overflow-y                      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(*)                     styleFloat(*)                 |
|                |text-align                      text-align-last               |
|                |text-autospace                  text-decoration               |
|                |text-indent                     text-justify                  |
|                |text-kashida-space              text-overflow                 |
|                |text-transform                  text-underline-position       |
|                |textDecorationBlink(*)          textDecorationLineThrough(*)  |
|                |textDecorationNone(*)           textDecorationOverline(*)     |
|                |textDecorationUnderline(*)      top                           |
|                |unicode-bidi                    visibility                    |
|                |white-space                     width                         |
|                |word-break                      word-spacing                  |
|                |word-wrap                       writing-mode                  |
|                |z-index                         zoom                          |
+----------------+--------------------------------------------------------------+



"dt" Event Handlers

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



"dt" Example

    
<html>
<head>
<title>dt element example</title>
</head>
<body>
    <dl>
        <dt>&lt;TABLE&gt;</dt>
        <dd>an html element.</dd>
        <dt>border-color</dt>
        <dd>a style sheet property.</dd>
        <dt>innerText</dt>
        <dd>a JavaScript property.</dd>
        <dt>cloneNode()</dt>
        <dd>a JavaScript method.</dd>
    </dl>
</body>
</html>



"dt" HTML Attributes

+----------------+--------------------------------------------------------------+
| HTML           |accesskey                       begin                         |
| Attributes     |class                           contenteditable               |
|                |dir                             disabled                      |
|                |end                             hidefocus                     |
|                |id                              lang                          |
|                |language                        nowrap                        |
|                |style                           syncmaster                    |
|                |systemBitrate                   systemCaptions                |
|                |systemLanguage                  systemOverdubOrSubtitle       |
|                |tabindex                        timecontainer                 |
|                |title                           unselectable                  |
+----------------+--------------------------------------------------------------+



"dt" JavaScript Collections

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



"dt" JavaScript Methods

+----------------+--------------------------------------------------------------+
| JavaScript     |addBehavior                     appendChild                   |
| Methods        |applyElement                    attachEvent                   |
|                |blur                            clearAttributes               |
|                |click                           cloneNode                     |
|                |componentFromPoint              contains                      |
|                |detachEvent                     dragDrop                      |
|                |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                                                      |
+----------------+--------------------------------------------------------------+



"dt" JavaScript Objects

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



"dt" JavaScript Properties

+----------------+--------------------------------------------------------------+
| JavaScript     |accessKey                       blockDirection                |
| Properties     |canHaveChildren                 canHaveHTML                   |
|                |className                       clientHeight                  |
|                |clientLeft                      clientTop                     |
|                |clientWidth                     contentEditable               |
|                |cursor                          dir                           |
|                |disabled                        end                           |
|                |firstChild                      hasLayout                     |
|                |hideFocus                       id                            |
|                |innerHTML                       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                    |
|                |scopeName                       scrollHeight                  |
|                |scrollLeft                      scrollTop                     |
|                |scrollWidth                     sourceIndex                   |
|                |tabIndex                        tagName                       |
|                |tagUrn                          title                         |
|                |uniqueID                                                      |
+----------------+--------------------------------------------------------------+



"dt" Microsoft Behaviors

+----------------+--------------------------------------------------------------+
| Microsoft      |clientCaps                      download                      |
| Behaviors      |homePage                        httpFolder                    |
|                |saveFavorite                    saveHistory                   |
|                |saveSnapshot                    time                          |
|                |time2                           userData                      |
+----------------+--------------------------------------------------------------+



"dt" 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                        |
+----------------+--------------------------------------------------------------+



"dt" Syntax and Note

Note:
Known as the definition term.
Display terms and definitions in HTML (such as in a glossary).
It is used in conjunction with the <dl> and <dd> elements. 
The <dl> element is a definition list.
The <dl> element may contain multiple definition terms, <dt>, 
along with definition descriptions, <dd>. 
   
Syntax:
    
<dt attributes events> . . . </dt>