HTML CSS Reference/HTML Tag Reference/br

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

"br" CSS Attributes and JavaScript Style Properties

+----------------+--------------------------------------------------------------+
| CSS            |display                                                       |
+----------------+--------------------------------------------------------------+



"br" Event Handlers

+----------------+--------------------------------------------------------------+
| Event          |onLayoutComplete                onLoseCapture                 |
| Handlers       |onReadyStateChange              onSelectStart                 |
+----------------+--------------------------------------------------------------+



"br" Example

    
<html>
<head>
<title>br element example</title>
</head>
<body>
   <p>Line 1.<br> Line 2<br> Line 3.</p>
   <hr>
   <br>
   <hr>
   <hr>
</body>
</html>



"br" HTML Attributes

+----------------+--------------------------------------------------------------+
| HTML           |class                           clear                         |
| Attributes     |id                              style                         |
|                |title                                                         |
+----------------+--------------------------------------------------------------+



"br" JavaScript Collections

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



"br" JavaScript Methods

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



"br" JavaScript Objects

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



"br" JavaScript Properties

+----------------+--------------------------------------------------------------+
| JavaScript     |canHaveHTML                     className                     |
| Properties     |clear                           clientHeight                  |
|                |clientWidth                     dir                           |
|                |disabled                        firstChild                    |
|                |id                              innerHTML                     |
|                |isContentEditable               isDisabled                    |
|                |isMultiLine                     isTextEdit                    |
|                |lang                            lastChild                     |
|                |nextSibling                     nodeName                      |
|                |nodeType                        nodeValue                     |
|                |offsetHeight                    offsetLeft                    |
|                |offsetParent                    offsetTop                     |
|                |offsetWidth                     outerHTML                     |
|                |outerText                       ownerDocument                 |
|                |parentElement                   parentNode                    |
|                |parentTextEdit                  previousSibling               |
|                |readyState                      scopeName                     |
|                |scrollHeight                    scrollLeft                    |
|                |scrollTop                       scrollWidth                   |
|                |sourceIndex                     tagName                       |
|                |tagUrn                          title                         |
|                |uniqueID                                                      |
+----------------+--------------------------------------------------------------+



"br" Microsoft Behaviors

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



"br" Syntax and Note

Note:
Add a new line to the web page.
   
Syntax:
    
<br attributes events>