HTML meter optimum 属性
最后更新于:2022-03-26 23:12:55
HTML <meter> optimum 属性
HTML <meter> 标签
实例
一个最优值为 0.5 的度量:
<meter value=”0.3″ high=”0.9″ low=”0.1″ optimum=”0.5″></meter>
尝试一下 »
浏览器支持





Firefox、Opera、Chrome 和 Safari 6 支持 <meter> 标签的 optimum 属性。
定义和用法
optimum 属性规定度量值被界定为最优值的范围。
HTML 4.01 与 HTML5之间的差异
<meter> 标签是 HTML5 中的新标签。
语法
属性值
值 |
描述 |
number |
规定一个表示度量的最优值的浮点数。 |
HTML <meter> 标签