HTML DOM Figcaption 객체
- 이전 페이지 <fieldset>
- 다음 페이지 <figure>
figcaption 객체
figcaption 객체는 HTML <figcaption> 요소를 대표합니다。
figcaption 객체 접근
getElementById()를 사용하여 <figcaption> 요소에 접근할 수 있습니다:
var x = document.getElementById("myFigCap");
figcaption 객체 생성
document.createElement() 메서드를 사용하여 <figcaption> 요소를 생성할 수 있습니다:
var x = document.createElement("FIGCAPTION");
관련 페이지
HTML 참조 가이드:HTML <figcaption> 태그
- 이전 페이지 <fieldset>
- 다음 페이지 <figure>