HTML CSS Reference/HTML Tag Reference/embed
Содержание
- 1 "embed" CSS Attributes and JavaScript Style Properties
- 2 "embed" Event Handlers
- 3 "embed" Example
- 4 "embed" HTML Attributes
- 5 "embed" JavaScript Collections
- 6 "embed" JavaScript Methods
- 7 "embed" JavaScript Objects
- 8 "embed" JavaScript Properties
- 9 "embed" Microsoft Behaviors
- 10 "embed" Syntax and Note
"embed" 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 |border border-bottom |
| JavaScript |border-bottom-color border-bottom-style |
| Style |border-bottom-width border-color |
| Properties |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 |
| |cursor direction |
| |display float |
| |hasLayout(*) height |
| |layout-grid layout-grid-mode |
| |left margin |
| |margin-bottom margin-left |
| |margin-right margin-top |
| |overflow overflow-x |
| |overflow-y padding |
| |padding-bottom padding-left |
| |padding-right padding-top |
| |pixelBottom(*) pixelHeight(*) |
| |pixelLeft(*) pixelRight(*) |
| |pixelTop(*) pixelWidth(*) |
| |posBottom(*) posHeight(*) |
| |position posLeft(*) |
| |posRight(*) posTop(*) |
| |posWidth(*) scrollbar-3dlight-color |
| |scrollbar-arrow-color scrollbar-base-color |
| |scrollbar-darkshadow-color scrollbar-face-color |
| |scrollbar-highlight-color scrollbar-shadow-color |
| |scrollbar-track-color styleFloat(*) |
| |text-autospace text-underline-position |
| |top unicode-bidi |
| |visibility word-wrap |
| |zoom |
+----------------+--------------------------------------------------------------+
"embed" Event Handlers
+----------------+--------------------------------------------------------------+
| Event |onActivate onBeforeActivate |
| Handlers |onBeforeCut onBeforeDeactivate |
| |onBeforePaste onBlur |
| |onClick onContextMenu |
| |onControlSelect onCut |
| |onDblClick onDeactivate |
| |onFocus onFocusIn |
| |onFocusOut onHelp |
| |onLoad onLoseCapture |
| |onMouseDown onMouseEnter |
| |onMouseLeave onMouseMove |
| |onMouseOut onMouseOver |
| |onMouseUp onMouseWheel |
| |onMove onMoveEnd |
| |onMoveStart onPaste |
| |onPropertyChange onReadyStateChange |
| |onResize onResizeEnd |
| |onResizeStart onScroll |
+----------------+--------------------------------------------------------------+
"embed" Example
<html>
<head>
<title>embed element example</title>
</head>
<body>
<EMBED SRC="fakemovie.mov", WIDTH=150, HEIGHT=250 CONTROLS=TRUE>
</body>
</html>
"embed" HTML Attributes
+----------------+--------------------------------------------------------------+
| HTML |accesskey align |
| Attributes |border class |
| |dir frameborder |
| |height hidden |
| |hidefocus hspace |
| |id lang |
| |language name |
| |pluginspage src |
| |style title |
| |type units |
| |unselectable width |
+----------------+--------------------------------------------------------------+
"embed" JavaScript Collections
+----------------+--------------------------------------------------------------+
| JavaScript |all attributes |
| Collections |behaviorUrns childNodes |
| |children |
+----------------+--------------------------------------------------------------+
"embed" JavaScript Methods
+----------------+--------------------------------------------------------------+
| JavaScript |addBehavior applyElement |
| Methods |attachEvent blur |
| |clearAttributes click |
| |cloneNode componentFromPoint |
| |contains detachEvent |
| |dragDrop fireEvent |
| |focus getAdjacentText |
| |getAttribute getAttributeNode |
| |getBoundingClientRect getClientRects |
| |getElementsByTagName hasChildNodes |
| |insertAdjacentElement mergeAttributes |
| |normalize releaseCapture |
| |removeAttribute removeAttributeNode |
| |removeBehavior removeExpression |
| |replaceAdjacentText scrollIntoView |
| |setActive setAttribute |
| |setAttributeNode setCapture |
| |setExpression swapNode |
+----------------+--------------------------------------------------------------+
"embed" JavaScript Objects
+----------------+--------------------------------------------------------------+
| JavaScript |currentStyle runtimeStyle |
| Objects |style |
+----------------+--------------------------------------------------------------+
"embed" JavaScript Properties
+----------------+--------------------------------------------------------------+
| JavaScript |accessKey align |
| Properties |canHaveHTML className |
| |clientHeight clientLeft |
| |clientTop clientWidth |
| |cursor dir |
| |disabled firstChild |
| |hasLayout height |
| |hidden hideFocus |
| |id isContentEditable |
| |isDisabled isMultiLine |
| |isTextEdit lang |
| |language lastChild |
| |name nextSibling |
| |nodeName nodeType |
| |nodeValue offsetHeight |
| |offsetLeft offsetParent |
| |offsetTop offsetWidth |
| |outerHTML outerText |
| |ownerDocument palette |
| |parentElement parentNode |
| |parentTextEdit pluginspage |
| |previousSibling readyState |
| |scopeName scrollHeight |
| |scrollLeft scrollTop |
| |scrollWidth sourceIndex |
| |src tagName |
| |tagUrn title |
| |uniqueID units |
| |width |
+----------------+--------------------------------------------------------------+
"embed" Microsoft Behaviors
+----------------+--------------------------------------------------------------+
| Microsoft |clientCaps download |
| Behaviors |homePage |
+----------------+--------------------------------------------------------------+
"embed" Syntax and Note
Note:
This element was created by Netscape.
It is used to load sound files or other file types not supported by the browser.
Syntax:
<embed attributes events></embed>