89 of 133 menu

The section tag

The section tag defines a document section that combines other blocks.

Example

Let's group the page blocks using the section tag:

<section> <div id="elem1"> <p>text</p> <p>text</p> <p>text</p> </div> <div id="elem2"> <p>text</p> <p>text</p> <p>text</p> </div> </section>

:

See also

  • tag div,
    which also groups tags
  • tag article,
    which defines the independent part of the page
English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline