Building Window program in HTML
HTA Application
It's basically the same as an html file but with a GUI that acts like an executable file with .exe extension. Double click on the .hta file you make to launch the program.


Steps:
Type in your html script.
Then save your script as Test.hta
Make sure the .hta extension is written at the end of the name. The .hta stands for HTML Application. It shall work if you're using Explorer browser 5.0 and above.

A basic start of the html application is:
<html>
<head>
<HTA APPLICATION
ICON="http://www.tugberkugurlu.com/favicon.ico"
SCROLL="auto"
maximiseButton="yes"
minimiseButton="yes">
<title>Simple HTA</title>
</head>
<body>
<p>Your HTML Script goes here</p> </body>
</html>

Several other arguments that goes along with HTA Application:
- APPLICATIONNAME: Sets the title of the HTA program you're trying to make.
- BORDER: Defines the type of border you want to use. [e.g thick, thin, none]
- Default value is Thick. - CAPTION: Boolean value Yes/No that specifies if you want to display a caption in the title bar.
-Default value is Yes - ICON: Sets the icon for the program.
Note: You can obviously try it with Notepad if you don't want to download Notepad++. It will work on any text editor.