html5<meter> tag
Translation results:
meter
UK[ˈmi:tə(r)] US[ˈmitɚ]
n.Meter; meter
v. Measure with a meter
html5<meter> tagsyntax
Function: The <meter> tag defines weights and measures. Use only for measurements with known maximum and minimum values.
Parameters:
Attribute | Value | Description |
high | number | Defines at which point the value of the metric is located, which is defined as a high value. |
low | number | Defines at which point the value of the metric is located, which is defined as a low value. |
max | number | Define the maximum value. The default value is 1. |
min | number | Define the minimum value. The default value is 0. |
optimum | number | Defines what metric value is the best value. If the value is higher than the "high" attribute, it means that the higher the value, the better. If the value is lower than the value of the "low" attribute, it means that the lower the value, the better. |
value | number | Defines the value of the metric. |
html5<meter> tagexample
<!DOCTYPE html> <html> <body> <p>显示度量值:</p> <meter value="3" min="0" max="10">3/10</meter><br> <meter value="0.6">60%</meter> <p><b>注释:</b>Internet Explorer 不支持 meter 标签。</p> </body> </html>
Click the "Run instance" button to view the online instance