Notification texts go here Contact Us join Now!

b:section

Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated

The Blogger <b:section> is a layout to nesting Blogger gadget <b:widget>. When we design a blogger template its make easier to manage a group of gadget by separate a gadget into the different section.

<b:section> Syntax and Attribute

BLOGGER XML LANGUAGE

<b:section  cond='EXPRESSION'
            class='STRING'
            id='STRING'
            name='STRING'
            preferred='BOOLEAN'
            showaddelement='BOOLEAN'
            maxwidgets='NUMBER'>
</b:section>
  • Each <b:section> must placed in between the tags <body> and </body>.
  • In HTML Rendering <b:section> replaced by tag <div> and contain attribute class, id and name.
  • id must be unique string.
  • BOOLEAN value is either of true, false, yes and no.
  • name is the name shown in Layout Editor and rendered HTML page as an Attribute.
  • showaddelement is statement may or not to add a Gadget in Layout Editor.
  • maxwidgets define the maximum allowed number of widgets.

<b:section> Example

COMMON SECTION

<b:section class='sidebar' id='sidebar_bottom' name='Sidebar (Bottom)'>
</b:section>

In the example above,  <b:section> tags has no showaddelement statement, by default, the value is 'true' its mean in the Layout Editor, "Add Gadget" button will appear because we allowed adding a Gadget inside that section even we not declare it.

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.