|
Related Articles + Define a site in Macromedia Dreamweaver MX Related Links |
Build your own website from scratch. 9. Build Template File. After having defined and sorted out most if not all the details about your layout, you are ready to start building your very own template file. First of all, a template file is only a shell to your site; it is a digital file, a web page which only content is your design code. It can be added a CSS (Cascading Style Sheets) file for more complex designs. The basic tools you need for this file are: Code Editor (Notepad or better), color's correlation list Step 6, theme's images (if needed), /layout's images/ (if needed). The objective of the template file is to provide you with the placeholders for all your content. You use your template file, by making copies of it and replacing the empty placeholders by the real content of the site. This way, you make a copy (template.html -> links.html) and replace all the empty tags with the content planned for the, in this case, links page. There are two ways of building the template page, it can be using <div> (division) tags, or by using tables. Either way you should arrive to a similar result. For example, this is a template file and this is a page developed from it. As you probably have noticed, the only thing that changes is the content; this makes it possible to sustain the same image across pages giving a better impression to your viewers. It also cuts down on developing since there is less time required to create each page. Click here for a full step by step tutorial on the creation of the example template file. |
Affiliates |