English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

在线工具

参考手册

: <progress> 标签

HTML meter min 属性

 HTML <meter> Tag

本文介绍HTML meter min 属性的使用方法,在线实例演示如何使用HTML meter min 属性、浏览器的兼容性、语法定义及它的属性值详细资料等。

在线示例

示例
<!DOCTYPE html>
<html>
<head> - <title>HTML:<meter> min 属性3codebox.com)</title>
</head>
<body>
<p>Display a gauge:</p>
<p>Anna's score: <meter min="0" low="40" high="90" max="100" value="95></meter></p>
<p>Peter's score: <meter min="0" low="40" high="90" max="100" value="65></meter></p>
<p>Linda&39;s score: <meter min="0" low="40" high="90" max="100" value="35></meter></p>
</body>
</html>
Test to see ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

Firefox, Opera, Chrome and Safari 6 Supports the min attribute of the <meter> tag.

Definition and Usage

The min attribute specifies the lower limit of the gauge.

The value of the min attribute must be less than the value of the max attribute.

If not specified, the default value is 0.

Hint: The min attribute and max attribute together specify the entire range of the gauge. If not specified, the default value is 0.

HTML 4.01 with HTML5differences

The <meter> tag is an HTML5 of the new tag.

Syntax

<meter min="number">

Attribute Value

ValueDescription
numberSpecify a floating-point number, which is the minimum value of the gauge. The default value is '0'.
 HTML <meter> Tag