Computer Learning Zone CLZ Access Excel Word Windows

Ignorance is a virus. Once it starts spreading, it can only be cured by reason. For the sake of humanity, we must be that cure.

-Neil deGrasse Tyson
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
Tips & Tricks

New Tips Added Weekly!
Click here to get on our Mailing List


Beginner - Level 1

Create a Simple HTA

What is an HTA?

An HTML Application (HTA) is a Microsoft Windows program whose source code consists of HTML, Dynamic HTML, and one or more scripting languages supported by Internet Explorer, such as VBScript or JScript.

To begin we will create a simple webpage. If you have never created a webpage before you may wish to take our Beginner HTML course. Another option is either our FrontPage or ASP courses.

Create a new file with the extension of .html. Let's call it Simple.

	<!DOCTYPE html>
	<html lang="en">
		<title>A Simple Webpage</title>

		<p>This is a paragraph.</p>


A simple page:

To make this a into an Application we just need to change the file extension to .hta and add a new tag <HTA:APPLICATION />.

This can contain many attributes and must appear in the <head> of the page.

	<!DOCTYPE html>
	<html lang="en">
		<title>A Simple HTA Application</title>

			APPLICATIONNAME = "A Simple HTA Application"

		<p>This is a paragraph.</p>


You can add an Icon to make it look a litte more professional. Just add the ICON to the same folder that the HTA is in. If it's in another folder just change the path.

		APPLICATIONNAME = "A Simple HTA Application"
		ICON = "599CD.ico"

Simple HTA

As you can see the URL bar and navigation buttons are missing. The Title has moved to the top of the Application and there is a scrollbar showing (disabled).

As this is a webpage you can add any HTML controls you are familar with, these will be convered in the next lesson.

You may receive a warning when you open a .hta as it can contain malicious code so be careful and only open trusted files
Warning HTA
Warning HTA

Sample Files

Index: Index | Next Lesson: Beginner Level 2


Alex Hedley (Avatar) By: Alex Hedley

Click here to sign up for more FREE tips




The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Copyright 2023 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 3/31/2023 3:46:04 PM.