Content deleted Content added
m Replaces obsolete tag. |
m Task 18 (cosmetic): eval 3 templates: del empty params (1×); hyphenate params (1×); |
||
Line 43:
An HTA is treated like any executable file with extension [[EXE|<code>.exe</code>]]. When executed via mshta.exe (or if the file icon is double-clicked), it runs immediately. When executed remotely via the browser, the user is asked once, before the HTA is downloaded, whether or not to save or run the application; if saved, it can simply be run on demand after that.<ref name=msintro/>
By default, HTAs are rendered as per "standards-mode content in IE7 Standards mode and quirks mode content in IE5 (Quirks) mode", but this can be altered using <code>X-UA-Compatible</code> headers.<ref name=msintro>{{cite web |url=https://msdn.microsoft.com/en-us/library/ms536496%28v=vs.85%29.aspx#Compatibility |title=Introduction to HTML Applications (HTAs).|website=Microsft MSDN|date=May 2011 |
The HTA engine (mshta.exe) is dependent on [[Internet Explorer]]. Starting from [[Windows Vista]], a user can [[Removal of Internet Explorer|remove Internet Explorer]] from Windows, which will cause the HTA engine to stop working.
|