HTML DOM Column 객체
- 이전 페이지 <code>
- 다음 페이지 <colgroup>
Column 객체
Column 객체는 HTML <col> 요소를 나타냅니다。
Column 객체 접근
getElementById()를 사용하여 <col> 요소에 접근할 수 있습니다:
var x = document.getElementById("myCol");
Column 객체 생성
document.createElement() 메서드를 사용하여 <col> 요소를 생성할 수 있습니다:
var x = document.createElement("COL");
Column 객체 속성
속성 | 설명 |
---|---|
span | 행의 span 속성 값을 설정하거나 반환합니다。 |
- 이전 페이지 <code>
- 다음 페이지 <colgroup>