HTML CSS Reference/HTML Tag Reference/nobr

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

"nobr" CSS Attributes and JavaScript Style Properties

Names noted with an asterisk (*) are JavaScript properties only.
+----------------+--------------------------------------------------------------+
| CSS            |background                      background-color              |
| Attributes     |background-image                background-position-x         |
| and            |background-position-y           background-repeat             |
| JavaScript     |behavior                        border                        |
| Style          |border-bottom                   border-bottom-color           |
| Properties     |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                    color                         |
|                |direction                       display                       |
|                |filter                          font                          |
|                |hasLayout(*)                    height                        |
|                |layout-grid                     layout-grid-mode              |
|                |margin                          margin-bottom                 |
|                |margin-left                     margin-right                  |
|                |margin-top                      padding                       |
|                |padding-bottom                  padding-left                  |
|                |padding-right                   padding-top                   |
|                |pixelBottom(*)                  pixelHeight(*)                |
|                |pixelLeft(*)                    pixelRight(*)                 |
|                |pixelTop(*)                     pixelWidth(*)                 |
|                |posBottom(*)                    posHeight(*)                  |
|                |posLeft(*)                      posRight(*)                   |
|                |posTop(*)                       posWidth(*)                   |
|                |text-autospace                  text-overflow                 |
|                |text-underline-position         unicode-bidi                  |
|                |visibility                      width                         |
|                |word-wrap                       zoom                          |
+----------------+--------------------------------------------------------------+



"nobr" Event Handlers

+----------------+--------------------------------------------------------------+
| Event          |onBeforeActivate                onBeforeCopy                  |
| Handlers       |onBeforeCut                     onBeforeEditFocus             |
|                |onBeforePaste                   onClick                       |
|                |onContextMenu                   onCopy                        |
|                |onCut                           onDblClick                    |
|                |onDrag                          onDragEnd                     |
|                |onDragEnter                     onDragLeave                   |
|                |onDragOver                      onDragStart                   |
|                |onDrop                          onFocusIn                     |
|                |onFocusOut                      onHelp                        |
|                |onKeyDown                       onKeyPress                    |
|                |onKeyUp                         onLoseCapture                 |
|                |onMouseEnter                    onMouseLeave                  |
|                |onMouseMove                     onMouseOver                   |
|                |onMouseUp                       onMouseWheel                  |
|                |onPaste                         onPropertyChange              |
|                |onReadyStateChange              onSelectStart                 |
+----------------+--------------------------------------------------------------+



"nobr" Example

    
<html>
<head>
<title>nobr element example</title>
</head>
<body>
    <nobr>Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
    Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
    Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
    Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
    </nobr>
</body>
</html>



"nobr" HTML Attributes

+----------------+--------------------------------------------------------------+
| HTML           |class                           contenteditable               |
| Attributes     |dir                             disabled                      |
|                |height                          id                            |
|                |lang                            language                      |
|                |unselectable                                                  |
+----------------+--------------------------------------------------------------+



"nobr" JavaScript Collections

+----------------+--------------------------------------------------------------+
| JavaScript     |behaviorUrns                                                  |
+----------------+--------------------------------------------------------------+



"nobr" JavaScript Methods

+----------------+--------------------------------------------------------------+
| JavaScript     |addBehavior                     attachEvent                   |
| Methods        |click                           componentFromPoint            |
|                |contains                        detachEvent                   |
|                |fireEvent                       getAttribute                  |
|                |getAttributeNode                getBoundingClientRect         |
|                |getClientRects                  getExpression                 |
|                |insertAdjacentHTML              insertAdjacentText            |
|                |normalize                       releaseCapture                |
|                |removeAttribute                 removeAttributeNode           |
|                |removeBehavior                  removeExpression              |
|                |scrollIntoView                  setAttribute                  |
|                |setAttributeNode                setCapture                    |
|                |setExpression                                                 |
+----------------+--------------------------------------------------------------+



"nobr" JavaScript Objects

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



"nobr" JavaScript Properties

+----------------+--------------------------------------------------------------+
| JavaScript     |canHaveHTML                     className                     |
| Properties     |clientHeight                    clientLeft                    |
|                |clientTop                       clientWidth                   |
|                |contentEditable                 dir                           |
|                |disabled                        hasLayout                     |
|                |height                          id                            |
|                |innerHTML                       innerText                     |
|                |isContentEditable               isDisabled                    |
|                |isMultiLine                     isTextEdit                    |
|                |lang                            language                      |
|                |offsetHeight                    offsetLeft                    |
|                |offsetParent                    offsetTop                     |
|                |offsetWidth                     outerHTML                     |
|                |outerText                       parentElement                 |
|                |parentTextEdit                  readyState                    |
|                |scopeName                       scrollHeight                  |
|                |scrollLeft                      scrollTop                     |
|                |scrollWidth                     sourceIndex                   |
|                |tagName                         tagUrn                        |
|                |uniqueID                                                      |
+----------------+--------------------------------------------------------------+



"nobr" Microsoft Behaviors

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



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



"nobr" Syntax and Note

Note:
This element displays text without any line breaks.
    
Syntax:
    
<nobr attributes events> . . . </nobr>