<b:tag> Syntax and Attribute
Blogger XML Language
<b:tag cond='EXPRESSION' HTML-ATTRIBUTE='STRING' name='STRING'> </b:tag>
<b:tag> Examples and Implementation
Normal operation
<b:tag name='div'> </b:tag>
Add a tag with a condition and extra HTML attribute.
<b:tag cond='data:view.isHomepage' id='foo' class='bar' name='div'> </b:tag>
With ternary operation
<b:tag expr:name='data:view.isHomepage ? "div" : "span"'> </b:tag>
Working with link
<b:tag title='Hi There' expr:class='data:view.isPost ? "foo" : "bar"' expr:href='data:blog.homepageUrl' name='a'> <h1>Hello Word</h1> </b:tag>
Other Tag
- <b:attr>
- <b:case>
- <b:class>
- <b:comment>
- <b:default>
- <b:defaultmarkup>
- <b:defaultmarkups>
- <b:eval>
- <b:else>
- <b:elseif>
- <b:if>
- <b:include>
- <b:includable>
- <b:loop>
- <b:message>
- <b:param>
- <b:section>
- <b:skin>
- <b:switch>
- <b:tag>
- <b:template-script>
- <b:template-skin>
- <b:widget>
- <b:widget-setting>
- <b:widget-settings>
- <b:with>
- <![CDATA[]]>
- <data:.../>