Monday, November 19, 2007

How to highlight Syntax

How to highlight Syntax

To highlight Syntax

While entering and editing HTML codes in Source view, the syntax-highlighting feature works in the background. It continuously monitors your code and compares it with the content and rules specified in the Web Database.

When the syntax-highlighting feature recognizes a tag, it will highlight the start and end tags, as well as tag attributes, to indicate that the syntax is completed.

To set syntax highlighting and text wrapping:

Step 1.

  • First of all, you have to click the Source tab in the document window.

Step 2.

  • In the Source view toolbar, you have to set the highlighting and text wrap options:

    1. Turn Syntax Highlighting Off button deactivates syntax highlighting and shows the HTML source code in the default text color.

    2. Detailed Syntax Highlighting button activates syntax highlighting.

    3. Highlight Media & Links button highlights images and media items.

    4. Highlight URLs button highlights references to other pages and Web locations.

    5. Soft Wrap button toggles the wrapping of the source at the margin of the Source Editor window to on and off.

    6. Display Line Numbers button indicates the code line numbers.


No comments: