In the previous example you have learned how to create HTML Applications (HTA) from scratch.
What if you already have a web page and you wish to convert it into an application? In this case all you need to do is supply the hta:application tag and save the page with the .hta extension.
To add the hta:application tag to an existing web page:
Select Insert / HTML Application Tag from the menu (or press Shift + Ctrl +H) , and
Fill in the properties, and press OK.
More about HTML Applications
More information on HTML Applications including the explanation of every hta:application tag's property is available at the Microsoft msdn site.
Note: Links on the Microsoft site change frequently. If the link above stops working, please search www.Microsoft.com for "HTML Applications" or for "windows scripting host".
Optimize the look and feel of your HTML Applications by adding a menu
In most cases stand-alone applications have a menu: they are easy to navigate, and all users are familiar with menus and expect to find them.
For these reasons your HTML Application needs a menu too. However, HTML does not natively support menus, and coding them from scratch takes lots of time.