HTML <meter> แอตทริบิวต์ที่เหมาะสมที่สุด
ตัวอย่าง
เกจที่มีค่าที่เหมาะสมคือ 0.5:
<p><label for="yinyang">Yin Yang:</label>
<meter id="yinyang" value="0.3"
high="0.9" low="0.1" optimum="0.5"></meter></p>
ความหมายและการใช้งาน
แอตทริบิวต์optimum
ระบุช่วงที่ค่าของมาตรวัดถือเป็นค่าที่เหมาะสมที่สุด
รองรับเบราว์เซอร์
ตัวเลขในตารางระบุเบราว์เซอร์รุ่นแรกที่สนับสนุนแอตทริบิวต์อย่างเต็มที่
Attribute | |||||
---|---|---|---|---|---|
optimum | 8.0 | 13.0 | 16.0 | 6.0 | 11.5 |
ไวยากรณ์
<meter optimum="number">
ค่าแอตทริบิวต์
Value | Description |
---|---|
number | Specifies a floating point number that is the optimal value of the gauge |
❮ แท็ก HTML <meter>