HTML app (HTML app)
An example of a simple HTML app:
<HTML>
<HEAD>
<title>hta Example </TITLE>
Applicationname= "MYAPP"
Border= "Thin"
Borderstyle= "Normal"
caption= "Yes"
icon= "Images/logo.ico"
maximizebutton= "Yes"
minimizebutton= "Yes"
Showintaskbar= "No"
Ingleinstance= "No"
sysmenu= "Yes"
Version= "1.0″
windowstate= "Normal"/>
</HEAD>
<BODY>
<b>hta example. Hello World!</b>
</BODY>
</HTML>
The representative meaning of the attribute
It has more hta:application tags. It's actually the tag. Provides a range of application-oriented features.
It's various properties:
ApplicationName Property (ApplicationName)
This property sets the name of the HTA.
Border Property (border)
This property is the window border type set to HTA and the default value is thick.
It can be set to thick specifies that the window is a thick border
dialog window specified as dialog box
None specifies that the window has no borders
thin specifies that the window is a narrow border
BorderStyle Property (BorderStyle)
This property is formatted as the border of the HTA window, and the default value is normal.
It can be set to
Normal normal border format
Complex bump Format Combo border
Raised protruding 3D border
Static 3D Border format
Sunken recessed 3D Bezel
Caption property (caption)
This property sets whether the HTA window displays a title bar or caption, and the default value is yes.
Icon Property (icon)
This property sets the icon for the application.
Maximizebutton Property (Maximizebutton)
This property sets whether the Maximize button is displayed in the HTA window and the default value is yes.
Minimizebutton Property (Minimizebutton)
This property sets whether the Minimize button is displayed in the HTA window and the default value is yes.
ShowInTaskbar Property (ShowInTaskbar)
This property sets whether to display this application in the taskbar, and the default is yes.
SingleInstance Property (singleinstance)
This property is set whether this application can run only once at a time. The secondary property is identified by the ApplicationName property, and the default value is No.
Sysmenu Property (Sysmenu)
This property sets whether the System menu is displayed in the HTA window and the default value is yes.
Version Property (version)
This property sets the version of the application and the default value is null.
WindowState Property (WindowState)
This property sets the initial size of the HTA window and the default value is normal.
It can be set to normal default size
Minmize Minimized
Maximize maximized
HTML app (HTML app)