HTML의 blockquote 태그는 다른 소스에서 인용된 섹션을 설정하는 데 사용됩니다. 긴 인용문을 정의합니다. 짧은 인용의 경우 태그를 사용하십시오.
다음은 속성입니다 -
- 인용: 인용 출처
이제 HTML에서 blockquote 태그를 구현하는 예를 살펴보겠습니다 -
예시
<!DOCTYPE html> <html> <body> <h2>osCommerce</h2> <p>According to the official website of osCommerce:</p> <blockquote cite="https://www.oscommerce.com/Us"> We have been running successfully for over 19 years and have not only created hundreds of thousands of online store owners worldwide, but have also helped kickstart other companies and projects who have based their products on our work. We've grown so much with the community and love the engagement in helping us all succeed. We're anxious to see you get involved and be part of the success! </blockquote> </body> </html>
출력
위의 예에서는
를 사용하여 인용을 설정했습니다. 이것은 텍스트 주위에 긴 따옴표를 설정합니다-<blockquote cite="https://www.oscommerce.com/Us"> We have been running successfully for over 19 years and have not only created hundreds of thousands of online store owners worldwide, but have also helped kickstart other companies and projects who have based their products on our work. We've grown so much with the community and love the engagement in helping us all succeed. We're anxious to see you get involved and be part of the success! </blockquote>이를 통해
cite 속성-을 사용하여 인용의 출처도 표시했습니다.cite="https://www.oscommerce.com/Us"