Title HTAs, have you ever heard of it? lixiaolong3456 (original)

Source: Internet
Author: User
Tags object model
Title HTAs, have you ever heard of it? lixiaolong3456 (original)

Key word hta,html


HTAs, have you ever heard of it?
HTAs is an acronym for HTML applications, which means using HTML and Dynamic HTML (DHTML) to develop applications. It is much simpler than the object-oriented language (such as C + +). We can use scripting languages (such as JavaScript) and CSS to develop an application. Simply put, HTAs includes everything from Internet Explorer-its models, representations, translation power, protocol support, and channel download technology-without enforcing a rigorous security model and a browser's user interface. However, it can still be trusted. It can display menu, icon, toolbar and Web Developer's header information.
Now let's learn it together. Look at the code below.
<HTML>
<HEAD>
<title>my Monster application</title>
Applicationname= "Monster"
Border= "1"
caption= "Yes"
icon= "/graphics/creature.ico"
Showintaskbar= "Yes"
Singleinstance= "Yes"
sysmenu= "Yes"
windowstate= "Navigable" >
</HEAD>
<BODY>
HELLO world!
</BODY>
</HTML>
We use Notepad to save the file with a suffix called HTA, and then double-click to open it (figure). How, the effect is similar to other applications!
An HTA is written in HTML, but he also has a different place from HTML, which has its own objects and properties.
Object: Hta:application. The necessary token, which indicates that this HTML document is an HTA Application object model.
Properties: Application: It tells the browser that its content is an HTA, eliminating the browser's security model.

ApplicationName: The name of this HTA application.
Border:hta the boundary value of the application and go to "none" without boundaries.
BORDERSTYLE: The boundary style of this HTA application has normal, complex, raised, static, sunken values, and the default is normal.
Related Article

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.