%brandDTD; ] >
In this section: Starting a New Page Formatting Your Web Pages Using Style Sheets to Style Your Web Pages Adding Tables to Your Web Page Adding Pictures (Images) to Your Web Page Working with Table of Contents on Your Web Page Working With Templates Setting Page Properties Creating Links in &brandShortName; Customizing &brandShortName;

## Working With Templates

HTML templates are useful in cases where the author has to create several pages which have similar design but different content. With &brandShortName; you can design your own templates and use them as a basis for your web pages.

### Creating a Template

1. To create a template:
   - Click on File > New, or click on the arrow besides "New" button and select "More Options"
   - Select Blank Template and click on "Create
2. Add and format the content which will remain the same in every page with same methods used to edit normal text in a web page.
3. For the content which will be different in the web pages, Editable Area can be inserted by clicking on Insert > Templates > Editable Area. Options available for an editable area are:
   - Area is Optional
   - Area is Repeatable
   - Area is Movable
4. Save the file as an .mzt Template file.

Tip: You can Remove an editable area or make an area editable using the status bar. For details refer Using Status Bar for Formatting Your Web Page.

[ Return to beginning of section ]

### Using a Template

To use a Template for authoring web pages:

1. Click on File > Open or use keyboard shortcut "Ctrl+N"
2. Select the option "A New Document based on a Template" and choose the template to use by clicking on "Choose File"
3. Click on Create
4. Edit the content in the editable areas.
5. Save the file as an html document.

Tip: Click on Edit > Detach From Template to detach a document from its template.

Tip: Transformation of existing document into a template and vice-versa can be achieved by checking(unchecking) the "Templates" option in Format > Page Title and Properties.

[ Return to beginning of section ]

18 June 2005

Copyright © 2004-2005 Contributors to the Nvu Help Documentation Project.