Home >Web Front-end >Front-end Q&A >How to use html meter tag

How to use html meter tag

藏色散人
藏色散人Original
2019-05-27 10:03:354849browse

html The meter tag is used to define a scalar measurement within a known range or fractional value. The tag should not be used to indicate progress (in a progress bar). If labeling a progress bar, use the tag.

How to use html meter tag

#html How to use meter tag?

Function: Define scalar measurements within a known range or fractional value.

Note: The label should not be used to indicate progress (in a progress bar). If labeling a progress bar, use the tag.

Note: The tag is a new tag in HTML 5.

html meter tag usage example

<!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>

Effect:

How to use html meter tag

The above is the detailed content of How to use html meter tag. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to use html link tagNext article:How to use html link tag