Skip to content

Instantly share code, notes, and snippets.

@hlorand
Created November 6, 2021 05:21
Show Gist options
  • Select an option

  • Save hlorand/ef3916008b50f9afb1a2eae82e110ffc to your computer and use it in GitHub Desktop.

Select an option

Save hlorand/ef3916008b50f9afb1a2eae82e110ffc to your computer and use it in GitHub Desktop.
Sample Windows HTML Application (HTA) https://en.wikipedia.org/wiki/HTML_Application
<HTML>
<HEAD>
<HTA:APPLICATION ID="HelloExample"
BORDER="thin"
SCROLL="no"
BORDERSTYLE="complex"/>
<TITLE>HTA - Hello World</TITLE>
<script>
function fv(){
alert("hello");
}
window.resizeTo(400,500);
</script>
</HEAD>
<BODY>
<H2>HTA - Hello World</H2>
<button onclick="fv()">Asdf</button>
</BODY>
</HTML>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment