인용 Quotation

고규식·2021년 8월 4일

웹 문서안에 어떤 문구를 인용해야 할때가 있다.
예를들어 어떤 위인이 한말이나, 어떤 단체에서 선언한 말들 그런 것들을 웹브라우저가 좀 더 의미있게 읽도록 하는 태그가 있다.

<blockquote> , <cite><q>이다.

  1. blockquote
    한 문단을 전체 인용할때 사용한다.

  2. cite
    저자 혹은 그 말을 한 대상을 표현할때 사용한다.

예시)

우리가 겪을 수 있는 가장 아름다운 체험은 신비다. 신비는 모든 참 예술과 과학의 근원이다.
- 알버트 아인슈타인

<blockquote>우리가 겪을 수 있는 가장 아름다운 체험은 신비다. 신비는 모든 참 예술과 과학의 근원이다.</blockquote>
<cite>알버트 아인슈타인</cite>

blockquote를 사용하면 indent된 효과를 줄 수 있다.

  1. q
    어떤 문단에서 어느 특정 부분이 인용될때 사용한다.

예시)
It's not happy news for the emperor penguin," said Hal Castellan of the U.S. Woods Hole Oceanographic Institution, a co-author of the study in the journal Nature Climate Change.

<p>
  <q>"It's not happy news for the emperor penguin,"</q> said Hal Castellan of the U.S. Woods Hole Oceanographic Institution, a co-author of the study in the journal Nature Climate Change.
</p>
profile
잠실사는 주니어 개발자

0개의 댓글