Before creating a Blogger template one show know its basic structure and also the code structure. Basically Blogger is made up of X-html, CSS and XML tags. You may be familiar to HTML and CSS. But,the whole Blogger template needs to be linked to the database of Google so that all our data(Blog posts,widgets,etc....) can be stored in it. Ya, Blogger doesn't support PHP and other server side scripting languages. But, its best place to start your Blogging career. Ok, too much of introduction. Lets start understanding the Basics of Blogger template.
The above code is made understood in the next tutorials. Head to next tutorial.
The template is made up mainly of two XML tags : <b:section> and <b:widget>. In simple words <b:section> is used to add sections in a Blog like the header, Blogs posts, siderbars, footers. The <b:widget> is used to add widgets or gadgets in these particular sections, like the blog post widget,author-profile,navbar,blog archive,etc.... Observe below given image.
![]() |
| Fig.1 |
I have stripped down the coding of the template to make you understand the basic code structure.
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html> <html b:version='2' class='v2' expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'> <head> <meta content='IE=EmulateIE7' http-equiv='X-UA-Compatible'/> <b:if cond='data:blog.isMobile'> <meta content='width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0' name='viewport'/> <b:else/> <meta content='width=1100' name='viewport'/> </b:if> <b:include data='blog' name='all-head-content'/> <title><data:blog.pageTitle/></title> <b:skin> </b:skin> </head> <body> <b:section class='header' id='header' maxwidgets='1' showaddelement='no'> <b:widget id='Header1' locked='true' title='Weberience -Blogger design Tutorials (Header)' type='Header'/> </b:section> </body> </html>
The above code is made understood in the next tutorials. Head to next tutorial.

