HTML <embed>
요소는 외부 어플리케이션이나 대화형 컨텐츠와의 통합점을 나타냅니다.
The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.
- 컨텐츠 범주 플로우 컨텐츠, 구문 컨텐츠, 포함된 컨텐츠, 대화형 컨텐츠, palpable 컨텐츠.
- 허용된 컨텐츠 없음. 이것은 empty element.
- 태그 생략 시작 태그는 있어야 하며, 종료태그는 있어서는 안됩니다.
- 허용된 부모 요소 포함된 컨텐츠를 허용하는 모든 요소
- DOM 인터페이스
HTMLEmbedElement
속성
이 요소는 전역 속성을 포함합니다.
height
- 리소스의 표시될 높이 길이를 CSS 픽셀로 지정
src
- 포함된 리소스의 URL
type
- 인스턴스화할 플러그인을 고르기 위해 사용되는 MIME 타입
width
- 리소스의 표시될 가로 길이를 CSS 픽셀로 지정
예제
<embed type="video/quicktime" src="movie.mov" width="640" height="480">
명세
명세 | 상태 | 주석 |
---|---|---|
HTML Living Standard The definition of '<embed>' in that specification. |
Living Standard | |
HTML5 The definition of '<embed>' in that specification. |
Recommendation |
브라우저 호환성
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
embed | Chrome Full support Yes | Edge Full support Yes | Firefox Full support 1 | IE Full support Yes | Opera Full support Yes | Safari Full support Yes | WebView Android Full support Yes | Chrome Android Full support Yes | Firefox Android Full support 4 | Opera Android ? | Safari iOS ? | Samsung Internet Android Full support Yes |
height | Chrome Full support Yes | Edge Full support Yes | Firefox Full support 1 | IE Full support Yes | Opera Full support Yes | Safari Full support Yes | WebView Android Full support Yes | Chrome Android Full support Yes | Firefox Android Full support 4 | Opera Android ? | Safari iOS ? | Samsung Internet Android Full support Yes |
src | Chrome Full support Yes | Edge Full support Yes | Firefox Full support 1 | IE Full support Yes | Opera Full support Yes | Safari Full support Yes | WebView Android Full support Yes | Chrome Android Full support Yes | Firefox Android Full support 4 | Opera Android ? | Safari iOS ? | Samsung Internet Android Full support Yes |
type | Chrome Full support Yes | Edge Full support Yes | Firefox Full support 1 | IE Full support Yes | Opera Full support Yes | Safari Full support Yes | WebView Android Full support Yes | Chrome Android Full support Yes | Firefox Android Full support 4 | Opera Android ? | Safari iOS ? | Samsung Internet Android Full support Yes |
width | Chrome Full support Yes | Edge Full support Yes | Firefox Full support 1 | IE Full support Yes | Opera Full support Yes | Safari Full support Yes | WebView Android Full support Yes | Chrome Android Full support Yes | Firefox Android Full support 4 | Opera Android ? | Safari iOS ? | Samsung Internet Android Full support Yes |
Legend
- Full support
- Full support
- Compatibility unknown
- Compatibility unknown