HTML CSS Reference/HTML Tag Reference/hr

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

"hr" CSS Attributes and JavaScript Style Properties

   <source lang="html4strict">

Names noted with an asterisk (*) are JavaScript properties only. +----------------+--------------------------------------------------------------+ | CSS |background-position-x background-position-y | | Attributes |behavior border-bottom-color | | and |border-bottom-style border-bottom-width | | JavaScript |border-color border-left-color | | Style |border-left-style border-left-width | | Properties |border-right-color border-right-style | | |border-right-width border-style | | |border-top-color border-top-style | | |border- top-width border-width | | |bottom clear | | |clip cursor | | |display float | | |height layout-flow | | |layout-grid layout-grid-char | | |layout-grid-line layout-grid-mode | | |layout-grid-type left | | |line-break 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(*) position | | |posLeft(*) posRight(*) | | |posTop(*) posWidth(*) | | |right styleFloat(*) | | |text-align text-align-last | | |text-autospace text-indent | | |text-justify text-kashida-space | | |text-underline- position top | | |visibility white-space | | |width word-break | | |word-wrap writing- mode | | |zoom | +----------------+--------------------------------------------------------------+

     </source>
   
  


"hr" Event Handlers

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Event |onActivate onBeforeActivate | | Handlers |onBeforeCut onBeforeDeactivate | | |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 | +----------------+--------------------------------------------------------------+

     </source>
   
  


"hr" Example

   <source lang="html4strict">
   

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


    Text

    Text

</body> </html>


     </source>
   
  


"hr" HTML Attributes

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | HTML |accesskey align | | Attributes |begin class | | |color dir | | |end hidefocus | | |id lang | | |language noshade | | |size style | | |syncmaster systemBitrate | | |systemCaptions systemLanguage | | |systemOverdubOrSubtitle tabindex | | |timecontainer title | | |unselectable width | +----------------+--------------------------------------------------------------+

     </source>
   
  


"hr" JavaScript Collections

   <source lang="html4strict">

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

     </source>
   
  


"hr" JavaScript Methods

   <source lang="html4strict">

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

     </source>
   
  


"hr" JavaScript Objects

   <source lang="html4strict">

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

     </source>
   
  


"hr" JavaScript Properties

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | JavaScript |accessKey align | | Properties |canHaveHTML className | | |clientHeight clientWidth | | |color cursor | | |dir disabled | | |end firstChild | | |hideFocus id | | |innerHTML isContentEditable | | |isDisabled isMultiLine | | |isTextEdit lang | | |language lastChild | | |nextSibling nodeName | | |nodeType nodeValue | | |noShade offsetHeight | | |offsetLeft offsetParent | | |offsetTop offsetWidth | | |outerHTML outerText | | |ownerDocument parentElement | | |parentNode parentTextEdit | | |previousSibling readyState | | |scopeName scrollHeight | | |scrollLeft scrollTop | | |scrollWidth size | | |sourceIndex tabIndex | | |tagName tagUrn | | |title uniqueID | | |width | +----------------+--------------------------------------------------------------+

     </source>
   
  


"hr" Microsoft Behaviors

   <source lang="html4strict">

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

     </source>
   
  


"hr" Microsoft Filters

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Microsoft |FlipH FlipV | +----------------+--------------------------------------------------------------+

     </source>
   
  


"hr" Syntax and Note

   <source lang="html4strict">

Note: This element creates a horizontal rule. The default setting is a shaded the line with a 3D appearance.

Syntax:



     </source>