HTAs not only support everything a Web page does namely HTML, Cascading Style Sheets, scripting languages, and behaviors, but also HTA-specific functionality. This added functionality provides control over user interface design and access to the client system. Moreover, run as trusted applications, HTAs are not subject to the same security constraints as Web pages. As with any executable file, the user is asked once, before the HTA is downloaded, whether to save or run the application; if saved to the client machine, it simply runs on demand there after. The end result is that an HTA runs like any executable (.exe) written in C++ or Visual Basic
For example:
Comments