HTML is the widely know and used language for internet. It is consider to be the most easy language as per the servery. There are few tags and attributes which every site contains with in. We can not imagine web without HTML. Most of the Android and iOS apps are built using HTML . It is almost impossible to build a website or webpage without using HTML. We are going to share some most common yet important <b:if> commands which every blogger or online geek must know. They are easy as mentioned before and have interesting usage. Let’s get started.
Top 3 Must Known b:if Commands of HTML
- Show Element on Homepage Only
If you want to show some widget or something on the home page only. You can use this command
<b:if cond=’data:blog.homepageUrl == data:blog.url’>
All you content will go here, will be shown on Home page and no where else
- Show Element Everywhere except Homepage
This command is used when you want to show the content on every page except homepage. It is very useful when you want to make homepage light. It can enhance your the speed of blog.
<b:if cond=’data:blog.pageType == "item"’>
All your content will go here, will be shown everywhere except homepage
- Element on specific Place
In case you want to show something on particular page, in that case this command could be useful. Say that you want to show the contact form which should be on contact page. You can add this command and this will work fine.
<b:if cond=’data:blog.url == "http://www.aimzo.com/specificpage"’>
All you content will go here, will be shown on the specific page.
These were top 3 must known b:if commands of HTML which every blogger or online should know. If you have any other suggestion regarding to b:if commands. Let us know by comment here below. If you like our work do share this with your friends and family.Push your WP blog into a cash producing miracle by means of WP a SEOPressor plugins.