The section tag is a container for widget elements on the page. You should use a section anywhere you want to add content dynamically or conditionally. A section can only contain widgets. It is not possible to nest a section within a section.
<b:section>
The section tag is a container for widget elements on the page. You should use a section anywhere you want to add content dynamically or conditionally. A section can only contain widgets. It is not possible to nest a section within a section.
| Attribute | Description | Required? |
|---|---|---|
| id | Unique identifier for the section. |
|
| name | How Blogger will display the name when viewed in the Layouts tab. |
|
| class | CSS classes that will be applied to your section when rendered, used for styling. |
|
| showAddElement | Allows users to add widgets to the section on the Layouts tab. |
|
| maxWidgets | Assigns a limit to the maximum number of widgets permitted in this section. |
|
| growth | Options of 'horizontal' or 'vertical' will define whether new widgets are added to the right or the bottom of the section. |
|
| preferred | A boolean to determine the priority of the section, preferred sections will take higher priority |
Example Code
<b:section class='content' id='main' showaddelement='yes' />
/* Main Content */
</b:section>