In Code view, you can make changes to both editable and locked HTML source code in a template.
TIP |
|
You can use code color preferences to set your own color scheme so you can easily distinguish template regions when you view a document in Code view (see Customizing code coloring preferences for a template). |
Editable content regions are marked in HTML with the following comments:
<!-- TemplateBeginEditable>
and <!-- TemplateEndEditable -->
Everything between these comments will be editable in documents based on the template. The HTML source code for an editable region might look like this:
<table width="75%" border="1" cellspacing="0" cellpadding="0"> <tr bgcolor="#333366"> <td>Name</td> <td><font color="#FFFFFF">Address</font></td> <td><font color="#FFFFFF">Telephone Number</font></td> </tr> <!-- TemplateBeginEditable name="LocationList" --> <tr> <td>Enter name</td> <td>Enter Address</td> <td>Enter Telephone</td> </tr> <!-- TemplateEndEditable --> </table>
NOTE |
|
Be careful when you edit template code in Code view that you dont change any of the template-related comment tags that Dreamweaver relies on. |