Adobe 38028779 User Guide - Page 344
Setting Code Format preferences, to Tag Contents.
UPC - 718659742201
View all Adobe 38028779 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 344 highlights
Other Keywords specifies the color for all other keywords. To override this color, set the Tag Specific option. Strings specifies the color for all strings in your code. To override this color, set the Tag Specific option. Tag Specific allows you to override the other color settings by specifying colors for specific tags. To set a color for a specific tag: 1 Select a tag in the Tag Specific box. Shift-click to select adjacent tags. To select nonadjacent tags, Control-click (Windows) or Command-click (Macintosh). 2 Click the radio button next to the color swatch at the bottom of the panel, and use one of these methods to choose a new color value: • Click the color swatch and select a new color from the palette of browser-safe colors or the system color picker. • In the text field next to the swatch, enter a hexadecimal value. 3 To color the text between the opening and closing tags, select Apply Color to Tag Contents. Setting Code Format preferences Use the following Code Format preferences to control code formatting such as indentation, line length, and the case of tag and attribute names. (For information on additional code formatting controls, see "Changing default HTML formatting" on page 530.) Note that all the preferences except Override Case Of affect only new documents and new additions to existing documents. That is, when you open a previously created HTML document, these formatting options are not applied to it; to reformat existing HTML documents, use the Apply Source Formatting command. (See "Formatting the HTML source code in existing documents" on page 348.) Indent turns on indentation of all tags marked indent in the SourceFormat.txt file. See "Changing default HTML formatting" on page 530. Use specifies whether to indent using spaces or tabs. Table Rows and Columns automatically indents tr and td tags to make table code easier to read. The Indent option must be selected for this option to work. Frames and Framesets automatically indents frame and nested frameset tags to make frameset files easier to read. The Indent option must be selected for this option to work. 344 Chapter 14