diff --git a/magic/Magdir/sgml b/magic/Magdir/sgml
index fb698a54..e5431d34 100644
--- a/magic/Magdir/sgml
+++ b/magic/Magdir/sgml
@@ -108,6 +108,13 @@
 !:mime	text/html
 !:strength + 15
 
+# Microsoft HTML Application (HTA)
+# https://learn.microsoft.com/en-us/previous-versions//ms536496(v=vs.85)
+0	search/4096/cWt	\<hta:application\ 	Microsoft HTML Application (HTA)
+!:mime	application/hta
+!:ext	hta
+!:strength + 50
+
 # Extensible markup language (XML), a subset of SGML
 # from Marc Prud'hommeaux (marc@apocalypse.org)
 0	search/1/cwt	\<?xml			XML document text
