x
 
<!DOCTYPE html>
<html>
<body>
<h1>演示如何访问 METER 元素</h1>
<p>韩梅梅的成绩:<meter id="myMeter" min="0" low="40" high="95" max="100" value="65"></meter></p>
<p>单击该按钮可获取上方仪表的当前“测量”值。</p>
<button onclick="myFunction()">试一试</button>
<p><b>注释:</b>Internet Explorer 和 Safari 5(及更早版本)不支持 value 属性。</p>
<p id="demo"></p>
<script>
function myFunction() {
  var x = document.getElementById("myMeter").value;
  document.getElementById("demo").innerHTML = x;
}
</script>
</body>
</html>