beautypg.com

Recognizing templates in code view – Adobe Dreamweaver CS3 User Manual

Page 400

background image

DREAMWEAVER CS3

User Guide

393

Recognizing templates in Code view

In Code view, editable content regions are marked in HTML with the following comments:

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.

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:

NameAddressTelephone Number
Enter nameEnter AddressEnter Telephone

Note: When you edit template code in Code view, be careful not to change any of the template-related comment tags that
Dreamweaver relies on.

See also

“Customize code coloring preferences for a template” on page 418

Recognizing template-based documents in Design view

In Design view, a document based on a template (a template-based document), editable regions appear in the
Document window surrounded by rectangular outlines in a preset highlight color. A small tab appears at the upper-
left corner of each region, showing the name of the region.

September 4, 2007