HTA refers to HTML application, which is essentially no different from HTML. But HTA has greater execution permissions and can freely call any resources of the user's current system without security restrictions. HTML is used for the web and is strictly controlled in terms of security restrictions, and cannot freely call files or other resources of the client user's system.
