Login for Software or Support

CoffeeCup - HTML Editor, Flash & Web Design Software

Over 45,128,050 Downloads in 87 Countries

Tell a Friend About Our Cool Software

CoffeeCup HTML Editor Help Center

Sign In For Priority Support Forgot yours ?
More The HTML Editor Help: Other Resources: Contact CoffeeCup:

Send Snail Mail:
CoffeeCup Software
165 Courtland Street
Suite A, Box 312
Atlanta, GA 30303

Give us a call:
Toll Free: 866.734.HTML (4865)
Sales Hotline: 678.495.3480
Fax: 678.495.3481

Color Coding your Tags

Color coding tags is a bit like a paint-by-number. Every tag has its own unique color to differentiate it from the rest of the document. Color coding tags makes debugging a document much easier, since you can find things at a glance, instead of having to read every line of code. For instance, if you know all image tags are red, you can scan down the code for the color red, and locate all image tags very easily.

To configure your colors:


1.) On the Main Menu, go to Tools->Preferences.

2.) Towards the bottom of this pop-up window, you will see a box labeled "Editor Highlighting Colors and Options." To modify HTML document colors, click on the "Modify..." button.


2.) Click new, and type in any name you want. When you click ok, the Toolbar will appear empty.

3.) The window in the upper left hand corner displays the different types of text you can give color attributes to. This is called the element window, because it displays all of the different elements of HTML. The window in the bottom of the screen is an example of some HTML code. This is called the preview window, because you can preview any changes made here.

4.) For example, say you wanted to change all image tags to be red with a green background. In the element window, scroll down until HTML image tags appear, then click on it. Click on the foreground color. This will open up a small box with choices for color. Click on the color red. Before you do the same thing for the background color, uncheck the box marked "background" under the words "Use defaults for." Now you can change your background color to green.


5.) Once you have done this, you will notice in the preview window that the image tags are red with a green background. Click "Ok" to save your changes, or "Cancel" if you don't want to save changes. You can tweak these changes until you find something that suits you. Typically, you will want tags that you modify constantly to stick out, so you don't have to hunt them down every time you make a change. On the other hand, some tags, like the comment tag <!-- --> you don't have to change, so you you don't need a bright color sticking out at you (default is grey).
Was this article helpful?

The HTML Editor Help Index | The HTML Editor Homepage

Download Our Software:

... and don't forget about our Free Software

CoffeeCup Home Page | Software | Copyright & Legal | Site Map | © 1996 - 2008 CoffeeCup Software, Inc.