Color Coding HTML and Scripting Code

Color coding has been much improved in FrontPage 2003. You can now control all elements of your HTML and scripting code. You can control colors displayed in Design view as well as Code view.

For more information on color coding for elements in Design view as opposed to Code view, see "FrontPage's Views," p. 61.


To customize colors used in Code view, select Tools, Page Options, and click the Color Coding tab (see Figure 26.3). The color entries on the left side of the dialog apply to Code view. The entries on the right apply to elements within Design view.

Figure 26.3. The Color Coding tab of the Page Options dialog provides complete control over color coding of code and design elements.

graphics/26fig03.jpg

You can adjust the color of the following items:

  • Background The background color of the page in Code view. This setting does not affect the background of the page in Design view or when viewing in a browser.

  • Normal text Text that is not part of an HTML tag or script.

  • Bookmarks The color of code bookmarks.

  • Tags HTML tags.

  • Attribute names Attributes of HTML tags.

  • Attribute values Values of HTML tag attributes.

  • Comments HTML and client-side script comments.

  • Script identifiers Variable names and function names in client-side script.

  • Script keywords Keywords in client-side script.

  • Script numbers Numeric values in client-side script.

  • Script operators Operators in client-side script (that is, =, +, &, and so on).

  • Script strings Strings (text values) in client-side script.

  • Script other Script not recognized by FrontPage. ASP and ASP.NET scripts fall into this category.

Clicking the Reset Colors button will reset all colors to their default values.



Special Edition Using Microsoft Office FrontPage 2003
Special Edition Using Microsoft Office FrontPage 2003
ISBN: 0789729547
EAN: 2147483647
Year: 2003
Pages: 443

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net