<html>
<body>
<p>小明的分数:<meter id="myMeter" min="0" low="40" high="95" max="100" value="65"></meter></p>
<p>单击按钮可更改上方仪表的 high 属性的值。</p>
<button onclick="myFunction()">试一试</button>
<p><b>注释:</b>Internet Explorer 和 Safari 5(及更早版本)不支持 high 属性。</p>
<p id="demo"></p>
<script>
function myFunction() {
document.getElementById("myMeter").high = "60";
document.getElementById("demo").innerHTML = "high 属性的值从 “95” 更改为 “60”。";
}
</script>
</body>
</html>