HTML 사전

q

설명

The quote element indicates that the enclosed text is a short inline quotation.

quote 요소는 감싸진 텍스트가 짧은 인라인 인용구라는 것을 가리킵니다.

Usage Context

Permitted content Phrasing content
Tag omission None, must have both a start tag and an end tag.
Permitted parent elements Any element that accepts phrasing content, or any element that accepts flow content.
Normative document HTML5, section 4.6.7; HTML 4.01, section 9.2.2

속성

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

cite

The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.

이 속성의 값은 정보가 인용된 원본 문서/메시지로 가는 URL입니다. 이 속성은 인용구의 문맥이나 참고문헌을 설명하는 정보를 가리키는데 사용됩니다.

예제

<p>Everytime Kenny is killed, Stan will announce <q>Oh my God, you/they killed Kenny!</q>.</p>

<p>매번 케니가 죽임당할 때, 스탠은 <q>오 맙소사, 니가/그들이 케니를 죽였어</q>라고 말할 것이다.</p>

Notes
 This element is intended for short quotations that don't require paragraph breaks, for long quotations use <blockquote> element.
 Most modern standards-aware browsers, like Mozilla Firefox, Opera, and Safari, should add quotes around text enclosed within the <q> element.
 Some browsers, like Internet Explorer, may not make any sort of style change for quotations, but it is possible to apply a style rule.

참고:
이 요소는 줄 바꿈(line breaking)이 필요 없는 짧은 인용구를 쓸 때 사용할 수 있습니다. 인용구가 긴 경우에는 <blockquote>요소를 사용하세요.

대부분의 모질라 파이어폭스, 오페라, 사파리와 같은 현대 표준을 준수하는 브라우저에서는 <q>로 감싼 부분 주위에 따옴표가 표시될 것입니다.

인터넷 익스플로러 등 몇몇 브라우저에서는 <q>로 감싼 부분 주위에 별다른 스타일 표시를 안해줄 수도 있습니다. 하지만 스타일을 지정해서 적용하는 것은 가능합니다.

DOM Interface

This element implements the HTMLQuoteElement interface.

<q> 요소는 HTMLQuoteElement 인터페이스를 구현합니다.

컨텐트 카테고리부분 다시 수정하기

호환성

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

참고

댓글

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