The two main parts of a template are the content management code and the theme. These should be kept separate so that the theme can easily be changed without affecting the structure. For example, the styles should be defined in an external style sheet and not embedded in the HTML code of the pages. The structure of a website will be defined by a set of templates. It is good practise to make the templates modular rather than having page templates containing all the code for each page. This allows site-wide changes to be easily applied. For example, the footer may be mostly identical between pages.
CMS has one more feature that is important to mention. It can be used like a basement for web templates. So, more and more web developers decide on CMS while creating their templates. Taking into consideration that Joomla is a comfortable, well-coded and easy-manageable CMS it was chosen to be the basement of Joomla Templates. These templates have been launched by the biggest and most reliably templates‘ provider Template Monster and they become very popular among those people who wish to build an outstanding web site.