The ability to execute HTAs was introduced to Microsoft Windows in 1999, along with the release of Microsoft Internet Explorer 5. On December 9, 2003 this technology was patented.
HTAs give the developer the features of HTML together with the advantages of scripting languages. They are popular with Microsoft system administrators who use them for system administration tasks, such as user-forms and pre-written network queries, since, for example, VBScript and JScript can access the Windows Task Manager. In general, HTAs are said to be suitable for many purposes, from prototypes to "full-scale" applications, especially where flexibility and speed of development are critical.
Beside the advantage of programming applications in Internet environment programming languages, which can usually be easier, due to the use of markup languages to build a UI (like XAML, which was later presented by Microsoft as a part of WPF), there are a few disadvantages of the current standard of HTA:
An HTA is executed using the program mshta.exe, or, alternatively, double-clicking on the file. This program is typically installed when Internet Explorer is installed. mshta.exe executes the HTA by instantiating the Internet Explorer rendering engine (mshtml) as well as any required language engines (such as vbscript.dll).
By default, HTAs are rendered as per "standards-mode content in IE7 Standards mode and quirks mode content in IE5 (Quirks) mode", but this can be altered using X-UA-Compatible headers.
When a regular HTML file is executed, the execution is confined to the security model of the web browser, that is, it is confined to communicating with the server, manipulating the pages object model (usually to validate forms and/or create interesting visual effects) and reading or writing cookies.
To customize the appearance of an HTA, a new (optional) tag hta:application was introduced to the HEAD section. This tag exposes a set of attributes that enable control of border style, the program icon, etc., and provide information such as the argument (commandline) used to launch the HTA.
Otherwise, an HTA has the same format as an HTML page.
Any text editor can be used to create an HTA. Editors with special features for developing HTML applications may be obtained from Microsoft or from third-party sources.
An existing HTML file (with file extension .htm or .html, for example) can be changed to an HTA by simply changing the extension to .hta.
This is an example of Hello World as an HTML Application.
|after three||ford key||african art||flashget||filipino poems|
|appliance||freezer burn||optical comparator||free galleries||free outstanding|
|auto news||personal reference||grand canyon||polo shirts||play station|
|bed and||rap artists||hotels in||boston herald||ralph lauren|
|interbook.ru||business science||how to||business for||business science|
|kid rock||selling annuity||caviar||chairs||cat and|
|craigs list||speaker||cuil||song lyrics||staples|
|martin d-45||telephone directory||marlins||talking||martin d-45|
|montauk monster||missouri lottery||trotskys analysis||uk||usaa|
|vin numbers||facial plastic||verizon wireless||mozilla||videobox|