HTML 사전

param

설명

Parameter element which defines parameters for <object>.

<object>에 대한 매개변수를 정의한다.

Usage Context

Permitted content None, this is a void element.
Tag omission As it is a void element, the start tag must be present and the end tag must not be present.
Permitted parent elements An <object> before any flow content.
Normative document HTML5, section 4.8.5; HTML 4.01, section 13.3.2

속성

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

name

Name of the parameter.

type - Obsolete

Only used if the valuetype is set to "ref". Specifies the type of values found at the URI specified by value.

value

Value of the parameter.

valuetype - Obsolete

Specifies the type of the value attribute. Possible values are:

  • data: Default value. The value is passed to the object's implementation as a string.
  • ref: The value is a URI to a resource where run-time values are stored.
  • object: An ID of another <object> in the same document.

name

매개변수의 이름

type - 폐지됨.

valuetype이 "ref"인 경우에만 쓴다. <param>요소의 value속성에는 파일이나 프로그램의 주소(URI)가 들어 있는데, <param>요소의 type속성은 이 URI파일 안에 들어있는 여러가지 값의 type을 지정한다.
예) type="application/x-shockwave-flash" 

value

매개변수의 값

valuetype  : 폐지됨

매개변수 값의 속성 타입.

  • data : 기본값. <object> 실행시, 문자열로 전달된다.
  • ref : 런타임 값이 저장되는 자원의 URI
  • object : <object>의 아이디             

* URI에 대한 보충설명 : 파라미터 값이 고정되지 않고 그때그때 바뀌는 경우, value 속성에는 파라미터값  대신에 그 값을 제공해주는 자원(서버 프로그램 혹은 텍스트 파일)을 가리키는 URI를 적습니다. 이 때 valuetype 속성은 ref로 적습니다.

예제

다음은 유튜브에 올라온 생활코딩 HTML 1강 embed태그이다. valuetype속성이 사용되지 않은 점이 약간 아쉽다.

<object width="560" height="315">
  <param name="movie" value="http://www.youtube.com/v/fGIE6WCJN78?version=3&amp;hl=ko_KR"></param>
  <param name="allowFullScreen" value="true"></param>
  <param name="allowscriptaccess" value="always"></param>
  <embed src="http://www.youtube.com/v/fGIE6WCJN78?version=3&amp;hl=ko_KR" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed>
</object>
Please see the <object> page for examples on <param>.

<param>요소에 대한 다른 예제를 보려면 <object> 요소의 예제를 참고하자. 

DOM Interface

This element implements the HTMLParamElement interface.

호환성

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

참고

댓글

댓글 본문
  1. engfordev
    영어/기술검토 작업하면서 주고받은 댓글
    > 흠.. 예제를 딴 걸 너어줬으면 좋겠는데.. 어떤 걸 넣어주면 좋을지...
    >> 이런건 어떨까요? 생코에서 다른 분이 말씀하신대로 유튜브의 생활코딩 HTML 1강 embed 태그입니다. 좀 아쉬운건 valuetype 속성은 사용하지 않은 코드네요.
  2. engfordev
    URI 부분은 websphere7님의 설명을 참고하여 적었음..
  3. engfordev
    나중 검토작업을 위해서 몇가지 질문 적어둡니다 ^^
    -----------------------
    data : 기본값 --> 요 부분은 어떤 의미인지 잘 모르겠어요 >.<
    object : <object>의 아이디같은 문서 내에 있는 다른 <object>의 아이디 하나.
    Q. 흠.. 같은 문서 내에 <object>가 만약 세 개 있으면 이 object는 뭐를 가리키려나요?</object></object></object>
버전 관리
김나솔
현재 버전
선택 버전
graphittie 자세히 보기