HTML 사전

object

설명

The Embedded Object (<object>) element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.

임베디드 오브젝트 (<object>) 요소는 외부의 리소스를 표현한다. 여기에서 외부 리소스로서 이미지, 내포된 외부 브라우저 문서(nested browsing context*), 혹은 플러그인으로 제어되는 리소스 등을 예로 들 수 있다.

* nested browsing context : iframe과 같이 외부 문서를 포함하는 것을 예로 들 수 있다. 예를 들어, A 브라우저가 C의 요소로서 B의 문서를 포함하고 있을 때, A를 부모 브라우저 문서(parent browsing context)라고 하며, B를 자식 브라우저 문서(child browsing context)라고 한다. 그리고 C는 브라우저를 포함하는 컨테이너(nested browsing container)라고 한다. (출처 : http://www.w3.org/TR/html5/browsers.html#nested-browsing-contexts)

Usage Context

Permitted content Transparent content model, with the following structure:
   zero or more <param> elements, followed by Flow content
   zero or more <param> elements, followed by Phrasing content
Tag omission None, both the start tag and the end tag are mandatory.
Permitted parent elements In HTML5, any element that accepts phrasing content or any element that accepts flow content
. In HTML 4, an <object> element can be a child of a <head> element, but in that case should not include any content.
Normative document HTML 5, Section 4.8.4
HTML 4, Section 13.3

속성

이 요소는 전역속성을 지원한다.

archive - HTML 4 only; Obsolete in HTML5

archive - HTML4 전용, HTML5에서 폐지됨.

A space-separated list of URIs for archives of resources for the object.

archive의 URI 목록은 공백으로 구분된다. 그리고 각 archive는 object와 관련된 리소스들을 포함한다.

border - Deprecated in HTML 4.01; Obsolete in HTML5

border - HTML 4.01에서 폐지예정되고 HTML5에서 폐지

The width of a border around the control, in pixels.

<object>를 감싸는 border를 정의하며, 픽셀 단위로 되어 있다.

classid - HTML 4 only; Obsolete in HTML5

classid - HTML4 전용, HTML5에서는 폐지

The URI of the object's implementation. It can be used together with, or in place of, the data attribute.

object를 구현하는 URI 값을 가진다. data 속성과 함께 쓰이거나 data 속성을 대신할 수 있다. 

codebase - HTML 4 only; Obsolete in HTML5

codebase - HTML4 전용, HTML5에서 폐지

The base path used to resolve relative URIs specified by classid, data, or archive. If not specified, the default is the base URI of the current document.

기반이 되는 경로는 classid, data, 또는 archive 등에 의해 명시된 관련 URI 를 결정한다. 만약 명시되어 있지 않다면, 현재 문서의 기본 URI를 기본값으로 한다.

codetype - HTML 4 only; Obsolete in HTML5

codetype - HTML 4전용, HTML5에서 폐지

The content type of the data specified by classid. 

classid에 의해 명시된 데이터의 콘텐츠 형식.

data

The address of the resource as a valid URL. At least one of data and type must be defined.

유효한 URL로서 리소스의 주소를 나타낸다. 적어도 데이터와 형식 중 하나를 정의 해주어야 한다.

declare - HTML 4 only; Obsolete in HTML5

declare - HTML 4전용; HTML5에서 폐지

The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent <object> element. In HTML5, repeat the <object> element completely each that the resource is reused.

declare 속성은 불리언 속성이며, 선언만이 가능합니다. 이 <object>는 뒤에 나오는 <object> 요소에 의해서 인스턴스화 될 수 있습니다. HTML5에서는 각 리소스가 재사용되는 <object> 요소를 반복합니다.

form - HTML5

form - HTML5

The form element, if any, that the object element is associated with (its form owner). The value of the attribute must be an ID of a <form> element in the same document.

form 요소는 object 요소와 관련되는 하나 이상의 form을 명시한다. 속성값은 반드시 동일 문서 안에 있는 <form> 요소의 ID이어야 한다.

height

height

The height of the displayed resource, in CSS pixels.

CSS 픽셀값으로 화면에 나타나는 리소스의 높이를 지정한다.

name

name

The name of valid browsing context (HTML5), or the name of the control (HTML 4).

HTML5에서는 유효한 브라우저 문서의 name을 일컫거나, HTML4에서는 콘트롤의 name을 일컫는다.

standby - HTML 4 only; Obsolete in HTML5

standby -  HTML 4전용, HTML5에서 폐지

A message that the browser can show while loading the object's implementation and data.

브라우저가 object의 구현이나 데이터를 로딩하는 동안 보여주는 메시지

tabindex - HTML 4 only; Obsolete in HTML5

tabindex - HTML 4 전용; HTML5에서 폐지

The position of the element in the tabbing navigation order for the current document.

현재 문서의 탭 내비게이션 순서에 대한 각 요소의 위치값을 정의한다.

type

type 

The MIME type of the resource specified by data. At least one of data and type must be defined.

데이터에 의해 명시된 리소스의 MIME 형식을 정의한다. 데이터와 형식 중 하나 이상은 정의 해주어야 합니다.

usemap

usemap

A hash-name reference to a <map> element; that is a '#' followed by the value of a name of a map element.

<map> 요소에 대한 #로 명명된 참조를 정의한다. 즉, map 요소의 이름값 앞에 #을 붙여준다.

width

width

The width of the display resource, in CSS pixels.

CSS의 픽셀값으로 화면에 나타나는 리소스의 너비를 정의한다.

예제

<!-- Embed a flash movie -->
<object data="move.swf" type="application/x-shockwave-flash"></object>

<!-- Embed a flash movie with parameters -->
<object data="move.swf" type="application/x-shockwave-flash">
  <param name="foo" value="bar">
</object>

DOM Interface

This element implements the HTMLObjectElement interface.

이 요소는 HTMLObjectElement 인터페이스를 구현한다.

호환성

Desktop
기능 구글크롬 파이어폭스Gecko) 인터넷 익스플로러 Opera Safari
기본적인 지원          
Mobile
기능 안드로이드 파이어폭스 모바일(Gecko) 인터넷 익스플로러 모바일 오페라 모바일 사파리 모바일
기본적인 지원          

참고

댓글

댓글 본문
  1. engfordev
    that that 두번 들어간 부분요, 왠지 원래 본문에서부터 실수로 잘못 들어간 것 같은데요 ㅎㅎ
버전 관리
ujuc
현재 버전
선택 버전
graphittie 자세히 보기