Open the file that you want to create the dynamic web template from in Expression Web. We will be using the sample web page discussed in the previous section. (Click the image below for a larger view.)

click to enlarge
From the File menu on Expression Web’s toolbar, choose Save As and a dialog box will appear on your screen. Type in the name you want to use for your template and select Dynamic Web Template from the Save as type dropdown list. Click the Save button and your new dynamic web template will be created.

click to enlarge
We’re not quite done yet. In order for a dynamic web template to be functional, it needs to have at least one editable region. An editable region is simply an area of the web page that can be modified with text, images, and other objects. In our example, we will create two editable regions – one for the main content of the page and one for the sidebar.
We’ll start by selecting the layer that contains the main part of the web page. Right click in this area and choose Manage Editable Regions.

click to enlarge
The Editable Regions dialog box will appear on the screen prompting us to choose a name for this region. We’ll name this area “main” as shown below.

click to enlarge
Click Add and then Close when finished. Note in the screenshot below how the editable region is marked.

click to enlarge
Also notice that the text (main) shows in the area as a placeholder. Later when you are applying this template to other pages, you can replace this text with other content.
Perform the same steps with the area to the left of the main region and name it “sidebar” when prompted.

click to enlarge
Again, the text (sidebar) can later be replaced with other content. Make sure to save the entire template when done by choosing Save from the File menu on the toolbar.
Continue on to the next article in this series to learn how to attach an existing dynamic web template to a web page.
For more tips and tricks, be sure to browse through the collection of Expression Web tutorials here at Bright Hub.