HTML DOM Del 개체
델 객체
Del 개체는 HTML <del> 요소를 나타냅니다.
Del 개체에 액세스
getElementById()를 사용하여 <del> 요소에 액세스할 수 있습니다.
예시
var x = document.getElementById("myDel");
Del 개체 만들기
document.createElement() 메서드를 사용하여 <del> 요소를 만들 수 있습니다.
예시
var x = document.createElement("DEL");
Del 개체 속성
Property | Description |
---|---|
cite | Sets or returns the value of the cite attribute of a deleted text |
dateTime | Sets or returns the value of the datetime attribute of a deleted text |
표준 속성 및 이벤트
관련 페이지
HTML 튜토리얼: HTML 텍스트 서식
HTML 참조: HTML <del> 태그
JavaScript 참조: Object의 HTML DOM