The section tag groups related content on your webpage, similar to how a bookshelf organizes books by category.
Sections offer the flexibility to add space between content areas, set unique backgrounds, and control typography within the section, affecting all contained elements except those with direct styling, like heading tags.
Understanding sections and hierarchy
A clear hierarchy is crucial. A section should generally come first, followed by a container which then holds various elements like text, images, and more.
Creating a new section
To add a new section, select the body tag, look for the section option in the dropdown, and click to add it to your layout.
When to use a section
Use a section when you have a distinct block of content with its own theme, ensuring it stands out as a separate part of your webpage’s narrative.
Table of content
Create your website visually – fast and easy.
Build a stunning website with ease using our visual builder. No experience needed – just drag, drop, and launch your site today.
Build and publish websites for free
Build and host your site with a custom domain for free. Upgrade anytime for expanded limits.
Build for free
Built in Divhunt
We use cookies.
By clicking “Accept All”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View ourCookie Policyfor more information.
Optahunt
Preferences
Manage your cookie preferences.
Essentials
Always Active
These are required for the website to work, like remembering your privacy settings, keeping you logged in, or enabling secure payments.
Performance
These help us understand how people use our site (like which pages are most popular) so we can make improvements.
Personalization
These allow the site to remember your preferences (such as language or region) and provide enhanced features.
Advertising & Targeting
These are used to deliver ads more relevant to you, limit how often you see them, and measure campaign performance.
Save my preferences
You can always change these settings later via ourCookie Policy pagepage, or via the cookie widget placed at the bottom left of the page.