--- title: '
: 일반 구획 요소' slug: Web/HTML/Element/section tags: - Element - HTML - HTML sections - Reference - Web translation_of: Web/HTML/Element/section ---
{{HTMLRef}}

HTML <section> 요소는 HTML 문서의 독립적인 구획을 나타내며, 더 적합한 의미를 가진 요소가 없을 때 사용합니다. 보통 <section>은 제목을 포함하지만, 항상 그런 것은 아닙니다.

{{EmbedInteractiveExample("pages/tabbed/section.html", "tabbed-standard")}}

참고: 요소의 콘텐츠를 외부와 구분하여 단독으로 묶는 것이 나아보인다면 {{htmlelement("article")}} 요소가 더 좋은 선택일 수 있습니다.

콘텐츠 카테고리 플로우 콘텐츠, 구획 콘텐츠, 뚜렷한 콘텐츠.
가능한 콘텐츠 플로우 콘텐츠.
태그 생략 {{no_tag_omission}}
가능한 부모 요소 플로우 콘텐츠를 허용하는 모든 요소.
단, <section> 요소는 {{HTMLElement("address")}}의 자손이 될 수 없습니다.
가능한 ARIA 역할 {{ARIARole("alert")}}, {{ARIARole("alertdialog")}}, {{ARIARole("application")}}, {{ARIARole("banner")}}, {{ARIARole("complementary")}}, {{ARIARole("contentinfo")}}, {{ARIARole("dialog")}}, {{ARIARole("document")}}, {{ARIARole("feed")}}, {{ARIARole("log")}}, {{ARIARole("main")}}, {{ARIARole("marquee")}}, {{ARIARole("navigation")}}, {{ARIARole("search")}}, {{ARIARole("status")}}, {{ARIARole("tabpanel")}}
DOM 인터페이스 {{domxref("HTMLElement")}}

특성

이 요소는 전역 특성만 포함합니다.

사용 일람

예제

이전

<div>
  <h2>Heading</h2>
  <img>some image</img>
</div>

이후

<section>
  <h2>Heading</h2>
  <img>some image</img>
</section>

명세

명세 상태 주석
{{SpecName('HTML WHATWG', 'sections.html#the-section-element', '<section>')}} {{Spec2('HTML WHATWG')}}
{{SpecName('HTML5.1', 'sections.html#the-section-element', '<section>')}} {{Spec2('HTML5.1')}}
{{SpecName('HTML5 W3C', 'sections.html#the-section-element', '<section>')}} {{Spec2('HTML5 W3C')}}

브라우저 호환성

{{Compat("html.elements.section")}}

같이 보기