示例如下
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="ie=10">
<title>Document</title>
</head>
<body>
<script language="vbscript">
Msgbox "Hello World"
</script>
</body>
</html>
重要的有兩點
<meta http-equiv="X-UA-Compatible" content="ie=10">
必須有這一行,並且content中ie的取值必須爲數字,範圍爲[0, 11)
<script language="vbscript">
只能寫成這種形式