Will Microsoft Edge and Windows 10 support HTA?

18.2k views Asked by At

I'm working on an HTML Application for Windows 8.1, and, as our office soon will use Windows 10, I'm wondering if MS Edge and Windows 10 still support HTA.

2

There are 2 answers

6
gilly3 On BEST ANSWER

No. However, you can still run legacy HTAs in IE9 mode. For new development using web technologies, Microsoft is recommending a switch to Windows Store Apps.

Here's what Microsoft had to say about HTA support in IE10 and later:

The Internet Explorer team is increasingly focused on standards compliance, and markup-based behaviors are not part of modern web standards. In IE10 mode support for markup based behaviors has been removed, and this includes hta:application.

In addition, for HTML-based applications the focus for Windows 8 and beyond the team's focus is on Windows Store applications.

I suspect that an HTA would work in Windows 10, but only in IE9 mode. (EDIT: It does!) It would be a major shift if Microsoft built Edge with HTA support.

0
user11116047 On

Late post but after testing, yes, HTA are fully support by Windows 10 and IE/Edge Browser. After declaring the doc type (important) at the top of your hta file (), set the meta tag in the head dom-node. Something like :

  • <meta http-equiv="x-ua-compatible" content="ie=9" />
  • <meta http-equiv="x-ua-compatible" content="ie=10" />
  • <meta http-equiv="x-ua-compatible" content="ie=11" />
  • <meta http-equiv="x-ua-compatible" content="ie=edge" />

JScript run on 4 versions, VBS run on 9 and 10.

Please refer to this site for more detail (keyword : compatible) : -https://www.robvanderwoude.com/vbstech_hta.php#Quirks