HTML DOM Figcaption 객체

figcaption 객체

figcaption 객체는 HTML <figcaption> 요소를 대표합니다。

figcaption 객체 접근

getElementById()를 사용하여 <figcaption> 요소에 접근할 수 있습니다:

var x = document.getElementById("myFigCap");

직접 시험해 보세요

figcaption 객체 생성

document.createElement() 메서드를 사용하여 <figcaption> 요소를 생성할 수 있습니다:

var x = document.createElement("FIGCAPTION");

직접 시험해 보세요

표준 속성과 이벤트

Figcaption 객체는 표준을 지원합니다속성이벤트

관련 페이지

HTML 참조 가이드:HTML <figcaption> 태그