31 Jan 2021

Blogger b:class tag | Blogger Template Editing

blogger b:class tag

Blogger b:class is a tag similar to other tag ( b:skin , b:comment, b:attr etc ). This b:class tag is used to add HTML classes's names to exactly first parent HTML Element on the basis of declared condition if meets or not.

<section class="name1">

<b:class name="name2" cond="data:view.isHomepage">


This code produce 2 results on different page. See HTML rendering of above code.

On Homepage,

<section class="name1 name2"> 


Rather than Homepage.

<section class="name1">



  1. If you please share how to do canonical tags in blogger platform, it will be very helpful. Thank you.