현재 번역은 완벽하지 않습니다. 한국어로 문서 번역에 동참해주세요.
개요
HTML <blockquote> 요소 (or HTML Block Quotation Element) 는 감싸진 텍스트가 긴 인용문임을 가리킵니다. 일반적으로 이것은 들여쓰기로 렌더링 됩니다.(Notes 에서 바꾸는 방법을 볼수 있습니다). A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> element.
- 컨텐츠 범주 플로우 컨텐츠, sectioning 루트, palpable 컨텐츠.
- 허용된 컨텐츠 플로우 컨텐츠.
- 태그 생략 None, both the starting and ending tag are mandatory.
- 허용된 부모 요소 플로우 컨텐츠를 허용하는 모든 요소.
- DOM 인터페이스
HTMLQuoteElement
속성
이 요소는 전역 속성을 포함합니다.
cite- 이 속성의 값은 인용된 정보의 원본 문서나 메세지를 가리키는 URL를 나타냅니다.. This attribute is intended to point to information explaining the context or the reference for the quote.
예제
<blockquote cite="https://developer.mozilla.org"> <p>This is a quotation taken from the Mozilla Developer Center.</p> </blockquote>
위 HTML의 결과:
This is a quotation taken from the Mozilla Developer Center.
사양
| 사양 | 상태 | 주석 |
|---|---|---|
| WHATWG HTML Living Standard The definition of '<blockquote>' in that specification. |
Living Standard | |
| HTML5 The definition of '<blockquote>' in that specification. |
Recommendation | |
| HTML 4.01 Specification The definition of '<blockquote>' in that specification. |
Recommendation |
브라우저 호환성
| 기능 | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | (Yes) | 1.0 (1.7 or earlier) | (Yes) | (Yes) | (Yes) |
| 기능 | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|
| Basic support | (Yes) | 1.0 (1.0) | (Yes) | (Yes) | (Yes) |
참고
<blockquote> 들여쓰기를 바꾸려면, CSS margin 속성을 사용하세요.
짧은 인용문에는 <q> 요소를 사용하세요.