• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 18. Dreamweaver Preferences > Code Colors Preferences

18.2. Code Colors Preferences

The Preferences dialog box's Code Colors category sets the colors used for HTML code shown in Code view (View Code View) and the Code Inspector. Table 18-1 lists the default colors. These colors are applied as you edit HTML code and can be applied to documents created outside Dreamweaver using the Commands Apply Source Formatting menu command. They do not affect Design view.

Table 18-1. Code Colors defaults
Option Default Used for
Background #FFFFFF (white) Background of Code pane and Code Inspector.
Text #000000 (black) Tag contents, such as text within <body> tags and JavaScript elements that are not keywords or strings.
Comments #808080 (gray) Items within <!-- and --> tags.
Tag Default #000080 (dark blue) Tags and attributes for which a Tag Specific color has not been set.
Script Reserved Keywords #0000FF (blue) Reserved JavaScript keywords, such as var.
Script Other Keywords #800000 (brick red) JavaScript functions names such as close and eval.
Script Strings #008000 (green) Literal strings within quotes, such as "Hello world".



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint