HTML 사전

pre

설명

This element represents preformatted text. Text within this element is typically displayed in a non-proportional font exactly as it is laid out in the file. Whitespaces inside this element are displayed as typed.

이 요소는 미리 서식을 갖춘(미리 서식이 지정되어 있는??) 텍스트를 표현합니다. 이 요소 안에 있는 텍스트는 통상적으로 고정폭 폰트가 사용되며, 파일상의 배치대로 정확히 표시됩니다. 이 요소안의 공백은 타이핑된 그대로 표시됩니다.

Usage Context

Permitted content  
Tag omission  
Permitted parent elements  
Normative document  

속성

이 엘리먼트는 전역속성을 지원한다.

예제

<!-- Some example CSS code -->
<pre>
body {
  color:red;
}
</pre>

DOM Interface

 

호환성

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

참고

댓글

댓글 본문
버전 관리
김나솔
현재 버전
선택 버전
graphittie 자세히 보기