HTML app (HTML app)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.