About Language Support

This section describes what languages are supported, how to get around limitations, and provides an overview of how HomeSite detects and handles a language.

What languages are supported

HomeSite has a significant amount of support for current standards in several Web development languages. For example, the following languages all have their own tag definitions in HomeSite:

There are also coding tools, controls, options, wizards, color coding schemes, CodeSweepers, and validation support to accomodate many other languages besides those previously listed: ActiveServer Pages (ASP), ActiveX, ActiveScript, Cascading Style Sheets (CSS), Dynamic HTML (DHTML), JavaScript, JScript, Perl, Personal Home Page (PHP), Structured Query Language (SQL), VBScript, and WDDX.

HomeSite does not support every language, but the program is highly flexible and extensible. You can extend its language support with the Tag Definitions Library and Visual Tools Markup Language (VTML). For details, see "Working with Tag Definitions" and "Customizing the Development Environment".

However, before you begin creating VTML (.vtm) files, see if someone else has already done the work for you. Some excellent resources are the Developer's Exchange, HomeSite Community Resources, HotScripts.com, and, for ASP and PHP coders, ASP4HS and PHP4HS.

How a language is detected

On a document level, HomeSite determines the language based on the document's DOCTYPE declaration. If there is no declaration, the program treats the document content as HTML. In the case of XHTML, when you enable Options > Set Document as XHTML, the program treats the document as XHTML even if there is no change to the DOCTYPE declaration.

On a character level, supported languages have their own start and end tags to alert the program that the tag content is written in a specific language.

The status bar displays the language of the code in the current document.