HTML 사전

br

설명

The HTML Line Break element (<br>) produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant.
HTML 줄 바꿈 요소 (<br>)은 텍스트 줄 바꿈(캐리지리턴)을 수행한다. 줄을 나누는 것이 중요한 시와 주소를 작성하는데 유용하다.

Do not use <br> to increase the gap between lines of text; use the CSS margin property or the <p> element.
텍스트 줄 사이의 간격을 증가시키기 위해 <br>을 사용하지 마라; CSS의 여백 속성이나 <p> 요소를 사용하라.

Usage Context

Permitted content None, it is a void element.
Tag omission Must have a start tag, and must not have an end tag. In XHTML documents, write this element as <br />.
Permitted parent elements Any elements that accept Phrasing content.
Normative document HTML5, section 4.6.23; HTML 4.01, section 9.3.2

속성

Like all other HTML elements, this element supports the global attributes.
다른 모든 HTML 요소와 마찬가지로, 이 요소는 전역 속성을 지원합니다.

clear - HTML4.01부터 폐지예정, HTML5에서 폐지

Indicates where to begin the next line after the break.
줄을 바꾼 후 다음 라인 시작 위치를 나타냅니다.

참고 : This attribute is obsolete in HTML5 and should not be used by authors. Use the CSS clear property instead.

참고: 이 속성은 HTML5에서 쓸모 없으며 개발자에 의해 사용되서는 안된다. 대신 CSS clear 속성을 사용하라.

예제

    Mozilla Foundation<br>  
    1981 Landings Drive<br>  
    Building K<br>  
    Mountain View, CA 94043-0801<br>  
    USA  

DOM Interface

HTMLBRElement

호환성

Desktop
기능 구글크롬 파이어폭스Gecko) 인터넷 익스플로러 Opera Safari
기본적인 지원 1.0 지원 지원   지원
Mobile
기능 안드로이드 파이어폭스 모바일(Gecko) 인터넷 익스플로러 모바일 오페라 모바일 사파리 모바일
기본적인 지원 지원 지원 지원 지원 지원

참고

댓글

댓글 본문
버전 관리
제스프리
현재 버전
선택 버전
graphittie 자세히 보기