Advance Features
Base Path Exclusion
Files used in webpages are often located in the same directory as the webpage itself, making the need for specifying the full path unnecessary.
The Base Path Exclusion function ensures that file names only include the full path when necessary. This makes it easier when uploading your website to the Internet or moving it to a different location on your hard disk.
This function is enabled by default and works with all file insertion functions:
- Insert Background Sound
- Insert Hyperlink
- Insert Image
- Insert Video
To switch Base Path Exclusion on or off:
- From the Format menu, check or uncheck Exclude Base Path.
- Alternatively, you can switch Base Path Exclusion on or off from every insert function that uses it.
Changing the code for new documents
New documents automatically contain the minimum code required for a typical webpage. You can choose to turn off the automatic code or specify what code should appear.
- On the Tools menu, choose Options.
- From the General tab, select the Automatically add code to new documents check box if you want code to be added to new documents, or unselect it if you want new documents to remain completely blank.
- To use the standard, minimum code, check Basic HTML Code.
- To specify a file containing code to use in new documents check From Template/File and then type the file's name in the box or click the (...) button to browse for one.
- Click OK to apply your changes.
Syntax Check
Syntax Check searches your code for errors. It will check for invalid elements and attributes.
To check a document's syntax:
- From the Tools menu, choose Check Syntax
- If a possible syntax error is found, the Check Syntax dialog box will appear
- To correct the error type the correction in the Change To box or choose the correct syntax from the Suggestions box.
- Click Change to correct the error or Ignore to ignore it.
Code Library
The code library makes it easy for you to add sections of commonly used code to your webpages.
- On the View menu, choose Code Library.
- Choose the code you want in the Code Category box. Code is organised under headings which can be expanded by clicking the cross, on pressing the Enter key on the keyboard.
- Select code segments from the list to view a preview and read the description.
- To insert code into the open document, choose the Insert button.
Options Window
You can change the way BestAddress performs tasks and interacts with you from the Options window.
For help on any of the options available, click the button. When the cursor changes to an arrow with a question mark, click the area on the window for which you want help.
To open the Options Window:
- From the Tools menu, choose Options.
- Set the options you want.
- Click OK
Syntax Assistants
The Syntax Assistants help speed up the time it takes to write the code for your website by prompting you with suggestions as you type.
Element Selector
When you manually begin to write a new HTML element (tag), the Element Selector appears and makes a suggestion for the code you are writing. If the highlighted suggestion is correct, press the space key to confirm it. The remaining text that makes up the element will be completed for you.

Attribute Guide
When you begin writing attributes for an element that you have just written, the Attribute Guide provides you with a list of all available attributes.

Image Gallery
The BestAddress Image Gallery makes it easy to insert pre-designed graphics into your website. It can be accessed from Insert menu as well as from the Insert Image window.
After selecting the image to use, the Image Gallery copies the image file to the directory in which you are developing your website.
To use the Image Gallery after you have opened it:
- Choose an image category and image in the Images frame. Selected images can be previewed in the Preview frame.
- To Insert an image, click the Use Image button.
- Images are saved in the same way as ordinary files.
Syntax Optimisation
Syntax Optimisation makes your code easier to read by indenting it.
The style of writing HTML code varies from person to person. You should therefore not solely rely on this function to accurately indent your code. It is recommended that you always indent your code as you type. BestAddress has various features to help you do this.
To run Syntax Optimisation over your code to increase readability
On the Tools menu, choose Optimise Syntax for Readability.
|