Preferences - Editing Window - Syntax Validation

 

Introduction

As you type, if you make any syntax errors, HotDog will notify you immediately. HotDog usually recognizes what the error is and will tell you what part of your tag is incorrect. HotDog will also describe the full HTML specification of the tag. See the HTML Property Sheet for more details on how to work with HTML. You can also specify which syntax files will be recognized in your work. For example, to be on the safe side, you might only wish to use the HTML 3.2 syntax file. This means that any tags or attributes you type that don’t form part of this specification will be underlined.

Your Syntax Validation preferences let you control the colors used in the syntax validation process. To edit these:

  1. On the Edit menu, select Preferences submenu.

  2. Select Editing Window on the tree view of the Preferences dialog and then select Syntax Validation.

Valid Elements

Determines the color for a valid element.

Invalid Elements

Determines the color for an invalid element.

Preview

Shows a preview of the colors you have chosen.

Turning on Syntax Highlighting

At the bottom of the document, click the Syntax Highlighting button: