section tags code example

Example 1: section tag in html

Section tag defines the section of documents such as chapters, headers, footers
or any other sections. The section tag divides the content into section and 
subsections. ... Section tag grouped the generic block of related contents.

Example 2: section tag html

<!DOCTYPE html>
<html>
<body>

<h1>The section element</h1>

<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>

</body>
</html>

Example 3: section tag in html

<section>
  <h1>Heading</h1>
  <p>Bunch of awesome content</p>
</section>

Example 4: html section tag

<html>
<head></head>
<body>
    <header></header>
    <section>
        <h1>ffffff</h1>
        <div>
            <span></span>
        </div>
        <div></div>
    </section>
    <footer></footer>
</body>
</html>

Tags:

Misc Example