HTML DOM BR 개체
BR 개체
BR 개체는 HTML <br> 요소를 나타냅니다.
BR 개체에 액세스
getElementById()를 사용하여 <br> 요소에 액세스할 수 있습니다.
예시
var x = document.getElementById("myBR");
BR 개체 만들기
document.createElement() 메서드를 사용하여 <br> 요소를 만들 수 있습니다.
예시
var x = document.createElement("BR");
BR 개체 속성
Property | Description |
---|---|
clear | Not supported in HTML5. Use style.clear instead. Sets or returns the flow of text around floating objects |
표준 속성 및 이벤트
관련 페이지
HTML 참조: HTML <br> 태그