<section>: ì¼ë° 구í ìì
Baseline
Widely available
This feature is well established and works across many devices and browser versions. Itâs been available across browsers since 2015ë 7ì.
HTML <section> ììë HTML 문ìì ë
립ì ì¸ êµ¬íì ëíë´ë©°, ë ì í©í ì미를 ê°ì§ ììê° ìì ë ì¬ì©í©ëë¤. ë³´íµ <section>ì ì 목ì í¬í¨íì§ë§, íì ê·¸ë° ê²ì ìëëë¤.
ìëí´ ë³´ê¸°
<h1>Choosing an Apple</h1>
<section>
<h2>Introduction</h2>
<p>
This document provides a guide to help with the important task of choosing
the correct Apple.
</p>
</section>
<section>
<h2>Criteria</h2>
<p>
There are many different criteria to be considered when choosing an Apple â
size, color, firmness, sweetness, tartness...
</p>
</section>
h1,
h2 {
margin: 0;
}
ì°¸ê³ :
ììì ì½í
ì¸ ë¥¼ ì¸ë¶ì 구ë¶íì¬ ë¨ë
ì¼ë¡ 묶ë ê²ì´ ëìë³´ì¸ë¤ë©´ <article> ììê° ë ì¢ì ì íì¼ ì ììµëë¤.
| ì½í ì¸ ì¹´í ê³ ë¦¬ | íë¡ì° ì½í ì¸ , 구í ì½í ì¸ , ëë ·í ì½í ì¸ . |
|---|---|
| ê°ë¥í ì½í ì¸ | íë¡ì° ì½í ì¸ . |
| íê·¸ ìëµ | ë¶ê°ë¥, ììê³¼ ëì í그를 ì¶ê°íë ê²ì íìì ëë¤. |
| ê°ë¥í ë¶ëª¨ ìì |
íë¡ì° ì½í
ì¸ ë¥¼ íì©íë 모ë ìì. ë¨, <section> ììë
<address>ì ììì´ ë ì ììµëë¤.
|
| ê°ë¥í ARIA ìí |
alert, alertdialog,
application, banner,
complementary,
contentinfo, dialog,
document, feed,
log, main,
marquee, navigation,
search, status,
tabpanel
|
| DOM ì¸í°íì´ì¤ | HTMLElement |
í¹ì±
ì´ ììë ì ì í¹ì±ë§ í¬í¨í©ëë¤.
ì¬ì© ì¼ë
- ê°ê°ì
<section>ì ìë³í ìë¨ì´ íìí©ëë¤. ì£¼ë¡ ì 목(<h1>-<h6>) ìì를<section>ì ììì¼ë¡ í¬í¨íë ë°©ë²ì ì¬ì©í©ëë¤. - ììì ì½í
ì¸ ë¥¼ ë°ë¡ 구ë¶í´ì¼ í íìê° ìì¼ë©´
<article>ìì를 ê³ ë ¤íì¸ì. <section>ìì를 ì¼ë° 컨í ì´ëë¡ ì¬ì©íì§ ë§ì¸ì. í¹í ë¨ìí ì¤íì¼ë§ì´ 목ì ì´ë¼ë©´<div>ìì를 ì¬ì©í´ì¼ í©ëë¤. ëê°, 문ì ìì½ì í´ë¹ 구íì´ ë ¼ë¦¬ì ì¼ë¡ ëíëì¼ íë©´<section>ì´ ì¢ì ì íì ëë¤.
ìì
>ì´ì
html
<div>
<h2>Heading</h2>
<img>some image</img>
</div>
ì´í
html
<section>
<h2>Heading</h2>
<img>some image</img>
</section>
ëª ì¸
| Specification |
|---|
| HTML > # the-section-element > |