Meter high attribute
Definition and usage
high
Attribute setting or returning the value of the meter High attribute value.
The high attribute specifies the range of values of the meter considered high. The value must be less than max attribute value, and greater than low and min Attribute value.
See also:
HTML Reference Manual:Properti high <meter> HTML
HTML Reference Manual:Tanda <meter> HTML
Instance
Example 1
Change the value of the high attribute in the meter:
document.getElementById("myMeter").high = "60";
Example 2
Return the value of the high attribute in the meter:
var x = document.getElementById("myMeter").high;
Syntax
Return high attribute:
meterObject.high
Set high attribute:
meterObject.high = number
Attribute value
Value | Description |
---|---|
number | Tetapkan nombor floating-point yang dianggap tinggi. |
Perincian teknikal
Kembali nilai: | Nombor, dipaparkan sebagai bilangan floating-point yang dianggap tinggi. |
---|
Pematuhan pereka
Nombor di dalam tabel menunjukkan versi paling awal pereka yang menyokong sifat ini.
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Dukungan | Tidak disokong | Dukungan | 6.0 | Dukungan |