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

HTML Referenzhandbuch

HTML-Tag-Liste

HTML meter optimum Attribute

Die optimum-Attribute geben den Bereich der Skala an, den als besten Wert betrachtet wird

 HTML <meter> Tag

Online-Beispiel

Der beste Wert beträgt 0.6Mittlere Skala:

<!DOCTYPE html>
<html>
<head>
<title>HTML:<meter> optimum Attribute - Basic Tutorial Website(oldtoolbag.com)</title>/title>
</head>
<body>
<p>Display a gauge:</p>
<p><meter value="0.3" high="0.9" low="0.1" optimum="0.6></meter></p>
</body>
</html>
Test and see ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

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

Definition and Usage

The optimum attribute specifies the range in which the gauge's value is considered the best value.

HTML 4.01 and HTML5differences between

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

Syntax

<meter optimum="number">

Attribute Value

ValueDescription
numberSpecify a floating-point number that is the best value for the gauge.
 HTML <meter> Tag