You can create a new HTML template in Dreamweaver by choosing File New, and then choosing HTML Template from the Page options and then select the layout or other options you would like. You can also save any existing page in Dreamweaver as a template by choosing File Save As and selecting the file type for a Dreamweaver Template.
In this tutorial, you learn to design HTML templates, but you can save other kinds of templates in Dreamweaver, including templates with the PHP, JSP, or ASP. When you save a file as a template, it helps to give it a special name you can use to identify the template later.
Thus, if you want to change the photo and caption in each page of a gallery, you’d make the section that contains the photo and caption an editable area of the template.
Edit and save the new page as you would any other page.
This is one of the most confusing aspects of working with templates, but it’s also what makes them so powerful.
Remember, editable regions are areas you can edit in all of the pages you create from the template — things like text and images you want to change from page to page.
The greatest advantage of templates is that when you want to go back and edit elements you use throughout your site, such as the navigation links shown in this website, you can go back and make that change once to the template and it’s automatically changed on every page created from the template.
For example, if I added a new gallery link to the template, it automatically updates all of the pages with the new link.
Things like the list of navigation links at the top of this template should note be editable regions, because then you’ll be able to update those areas on all of the pages created from the template when you’re done.