Blogger template structure explained
Blogger allowed to customize the appearance of our blog, by editing Blogger template - an HTML makeup code.
The structure of Blogger template is quite similar to every HTML pages with standard HTML components (head, body,
div…).
In addition, Blogger introduce these new special syntax:
- Special tag
<data:*> - Tags with namespace b, like
<b:section>,<b:widget>… - Attribute
expr:*
In a simple manner
- Standard HTML tags are used for styling and defining layout.
- Blogger specific tags are used for collecting dynamic data (posts, comments…) to display, also declaring common components (widgets) that can be reused around blog.
Some concepts
Skin: <b:skin> tag
- Placed inside
<head>block. - Contains all custom CSS code.
- Support variable.
- See detail reference document here: https://support.google.com/blogger/answer/46871.
Sections: <b:section> tag
- Placed inside
<body>block. - Represent areas like header, footer, sidebar…
- Contain only widgets.
- See detail reference document here: https://support.google.com/blogger/answer/46888.
Widgets: <b:widget> tag
- Placed inside
sectionblock - Every widget has to be specified a predefined type: ?list here?
- Contain only
includable(s). - See detail reference document here: https://support.google.com/blogger/answer/46888.
Includables: <b:includable> tag
- Placed inside
widgetblock - Every widget must have at least 1
includablewithidismain, and it will be displayed. - If widget contains more than 1
includablewithid=main, others won’t be displayed. But they can be included intomainincludable to be displayed. - See detail reference document here: https://support.google.com/blogger/answer/46995.
<b:include> tag
- Technically can be placed anywhere in page
- Is used to include a
includable - See detail reference document here: https://support.google.com/blogger/answer/46995.
<data:*> tag
- Is used to get dynamic data
- E.g.
<data:title>will represent for the blog’s title. - See detail reference document here: https://support.google.com/blogger/answer/47270.
expr attribute
- Is used to get dynamic data and pass into other tag attribute
- E.g.
<a expr:href='data:blog.homepageUrl'>Home</a>will set page url to attributehref
Other tags
See detail reference document here: https://support.google.com/blogger/answer/46995.
Simple template

References
http://thoughtsomething.blogspot.com/2009/01/understanding-blogger-template-1.html
http://www.oneminuteinfo.com/2011/07/html-template-syntax-in-google-blogger.html
https://support.google.com/blogger/answer/46995