Microsoft HTA/Changing Internet Explorer Version: Difference between revisions

ie=edge != microsoft edge
m (1 revision imported)
(ie=edge != microsoft edge)
{{Series|Microsoft HTA/CSS and JavaScript|Microsoft HTA/Buttons and forms}}
 
By default, HTAs display webpages in Compatibility View, this means that content is displayed in Internet Explorer 7. It's just [[Internet Explorer 6]] but with few more features. To change IE version, you need to use <code><meta http-equiv="x-ua-compatible" content="ie=yourversion"></code> in <code><head></code> of page. The lastest IE version is 11, but note that IE 10 has dropped support for <code><hta:application></code> settings, so if you want settings, use ie9, that support some HTML5 (for example SVG) and CSS3 (for example box-shadow) features. If you don't need settings, set ie=edge, that will render page in Microsoftthe Edgelatest available Internet Explorer version on the system.
 
This example is SVG enabled: