Home >Web Front-end >HTML Tutorial >What does the HTML tag do?

What does the HTML tag do?

(*-*)浩
(*-*)浩Original
2019-12-02 16:04:352986browse

HTML tag

What does the HTML <meter> tag do?

##Firefox, Chrome, Opera and Safari 6 support the tag .

definition and usage (Recommended learning: html tutorial )

# & lt; meter & gt . Also known as gauge.

Examples: Disk usage, correlation of query results, etc.

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

Differences between HTML 4.01 and HTML 5

The tag is a new tag in HTML 5.

Example

Use the meter element to measure data within a given range (gauge):

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

Rendering:

What does the HTML <meter> tag do?

The above is the detailed content of What does the HTML tag do?. 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