HTML <섹션> 태그


예시

문서의 두 섹션:

<section>
<h2>WWF History</h2>
<p>The World Wide Fund for Nature (WWF) is an international organization working on issues regarding the conservation, research and restoration of the environment, formerly named the World Wildlife Fund. WWF was founded in 1961.</p>
</section>

<section>
<h2>WWF's Symbol</h2>
<p>The Panda has become the symbol of WWF. The well-known panda logo of WWF originated from a panda named Chi Chi that was transferred from the Beijing Zoo to the London Zoo in the same year of the establishment of WWF.</p>
</section>

정의 및 사용

<section>태그는 문서의 섹션을 정의합니다 .


브라우저 지원

표의 숫자는 요소를 완전히 지원하는 첫 번째 브라우저 버전을 지정합니다.

Element
<section> 5.0 9.0 4.0 5.0 11.5

전역 속성

<section>태그는 HTML의 전역 속성도 지원 합니다 .


이벤트 속성

<section>태그는 HTML의 이벤트 속성 도 지원합니다 .


관련 페이지

HTML DOM 참조: 섹션 개체


기본 CSS 설정

대부분의 브라우저는 <section>다음 기본값으로 요소를 표시합니다.

예시

section {
  display: block;
}