Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 582 Bytes

File metadata and controls

25 lines (22 loc) · 582 Bytes
created 2026-05-04 00:15
source https://www.freecodecamp.org/learn/responsive-web-design-v9/lecture-html-fundamentals/what-are-div-elements
tags
HTML
Literature

The section [[HTML element|element]] I used to divide parts of HTML into different sections.

The section element does have a [[semantic]] meaning.

Example of a section

<section>
  <h2>Mammals</h2>
  <p>
    Mammals are warm-blooded animals with fur or hair. Most give birth to live
    young.
  </p>
  <ul>
    <li>Lion</li>
    <li>Elephant</li>
    <li>Dolphin</li>
  </ul>
</section>