HTML DOM 매개변수 객체
매개변수 개체
Parameter 객체는 HTML <param> 요소를 나타냅니다.
<param> 요소는 <object> 요소가 포함된 플러그인의 매개변수를 정의하는 데 사용됩니다.
매개변수 개체에 액세스
getElementById()를 사용하여 <param> 요소에 액세스할 수 있습니다.
예시
var x = document.getElementById("myParam");
매개변수 개체 만들기
document.createElement() 메서드를 사용하여 <param> 요소를 만들 수 있습니다.
예시
var x = document.createElement("PARAM");
매개변수 개체 속성
Property | Description |
---|---|
name | Sets or returns the value of the name attribute of a parameter |
value | Sets or returns the value of the value attribute of a parameter |
표준 속성 및 이벤트
Parameter 객체는 표준 속성 과 이벤트 도 지원합니다 .
관련 페이지
HTML 튜토리얼: HTML 플러그인
HTML 참조: HTML <param> 태그
HTML 참조: HTML <object> 태그