Dreamweaver

Set the code colors

Use the code coloring preferences to specify colors for general categories of tags and code elements, such as form-related tags or JavaScript identifiers. To set color preferences for a specific tag, edit the tag definition in the Tag Library editor.

  1. Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh).
  2. Select Code Coloring from the Category list on the left.
  3. Select a default background color for Code view and the Code inspector.
  4. Select a document type, and click Edit Coloring Scheme.
  5. Select an item and set its text color, background color, and (optional) style (bold, italic, or underline), and click OK.

    The sample code in the Preview pane changes to match the new colors and styles.

  6. Click OK.