English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML DOM close() 메서드

HTML DOM Document 객체

close()사용 전에 메서드를 닫습니다document.open();메서드가 열린 출력 스트림.

문법:

document.close();
document.open();
document.write("<p>The one and only content.</p>
document.close();
테스트를 보세요‹/›

브라우저 호환성

모든 브라우저가 완전히 지원하는 close() 메서드:

메서드
close()

기술 세부 사항

반환 값:없음
DOM 버전:DOM 2계

HTML DOM Document 객체