HTML 사전

embed

HTML5에서 도입

설명

The HTML Embed Element (<embed>) represents an integration point for an external application or interactive content (in other words, a plug-in).

Other elements that are used for embedding content of various types include <audio>, <canvas>, <iframe>, <img>, <math> , <object>, <svg> , and <video>.

<embed>는 외부 어플리케이션이나 컨텐츠에서의 상호작용(다른말로는 플러그인) 이 일어나는 지점을 표현해주기 위해 사용된다.

다른 요소로는 포함하려는 컨텐츠에 따라 <audio>, <canvas>,<iframe>,<img>,<math>,<object>,<svg>,<video> 등이 있다.

Usage Context

Permitted content None; this is a void element.
Tag omission Must have a start tag, and must not have an end tag.
Permitted parent elements Any element that accepts Phrasing content.
Normative document HTML5, section 4.8.3

속성

이 엘리먼트는 전역속성을 지원한다.

height

The displayed height of the resource, in CSS pixels.

사용될 리소소의 높이를 픽셀단위로 지정함

src

The URL of the resource being embedded.

사용될 리소스의 URL을 지정함

type

The MIME type to use to select the plug-in to instantiate.

사용될 플러그인의 MIME type을 지정함.

width

The displayed width of the resource, in CSS pixels.

사용될 리소스의 넓이를 지정함

예제

<embed type="video/quicktime" src="movie.mov" width="640" height="480">  

DOM Interface

This element implements the HTMLEmbedElement interface.

이 요소는 HTMLEmbedElement 에 구현되어있다.

참고

원본 - https://developer.mozilla.org/en/HTML/Element/embed

댓글

댓글 본문
  1. engfordev
    잘 해주셨습니다~
    1. MIME type에 대해서는 용어 사전에 질문으로 올려두었습니다 ^^
    https://docs.google.com/spread...
버전 관리
graphittie
현재 버전
선택 버전
graphittie 자세히 보기