이론/HTML

[HTML] sectioning root

millfeel1298 2021. 1. 29. 19:22
<blockquote>, <body>, <detail>, <fieldset>, <figure>, <td>

독립적인 콘텐츠로 분리되기 때문에 outline에 영향을 주지 않는다.


Q. outline에 정말 영향을 주지 않을까?

"HTML 5 Outliner"에 아래의 코드를 넣고 Outline을 확인 해 보자.

<section>
  <h2>섹션 태그</h2>
</section>
<blockquote>
  <h2>블록쿼트 태그</h2>
</blockquote>

sectioning root는 outline에 영향을 주지 않는다.


참고

웹표준 핵심가이드북2 p20

gsnedders.html5.org/outliner/