<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() {
var x = document.getElementById("myMeter").high;
document.getElementById("demo").innerHTML = x;
}
</script>
</body>
</html>