HTML <meter> Tag
ဥပမာ
ပေးထားသော အတိုင်းအတာတစ်ခုအတွင်း ဒေတာတိုင်းတာရန် မီတာဒြပ်စင်ကို အသုံးပြုပါ-
<label for="disk_c">Disk usage C:</label>
<meter id="disk_c" value="2"
min="0" max="10">2 out of 10</meter><br>
<label for="disk_d">Disk
usage D:</label>
<meter id="disk_d" value="0.6">60%</meter>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
တက်ဂ်သည် သိထား သည့် <meter>
အတိုင်းအတာတစ်ခုအတွင်း သို့မဟုတ် အပိုင်းကိန်းတန်ဖိုးတစ်ခုအတွင်း စကေးတိုင်းတာမှုကို သတ်မှတ်သည်။ ဒါကို gauge လို့လည်း ခေါ်တယ်။
ဥပမာများ- ဒစ်ခ်အသုံးပြုမှု၊ စုံစမ်းမှုရလဒ်၏ ဆက်စပ်မှု၊ စသည်တို့။
မှတ်ချက်-<meter>
တိုးတက်မှုကိုညွှန်ပြရန် (တိုးတက်မှုဘားတွင်ကဲ့သို့) တဂ်ကို အသုံးမပြုသင့်ပါ ။ တိုးတက်မှုဘားများအတွက်၊ <progress> တဂ်ကို အသုံးပြုပါ။
အကြံပြုချက်- အကောင်းဆုံးဝင်ရောက်နိုင်မှုအလေ့အကျင့်များအတွက် <label> တဂ်ကို အမြဲထည့်ပါ ။
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ဒြပ်စင်ကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Element | |||||
---|---|---|---|---|---|
<meter> | 8.0 | 13.0 | 16.0 | 6.0 | 11.5 |
ဂုဏ်တော်
Attribute | Value | Description |
---|---|---|
form | form_id | Specifies which form the <meter> element belongs to |
high | number | Specifies the range that is considered to be a high value |
low | number | Specifies the range that is considered to be a low value |
max | number | Specifies the maximum value of the range |
min | number | Specifies the minimum value of the range. Default value is 0 |
optimum | number | Specifies what value is the optimal value for the gauge |
value | number | Required. Specifies the current value of the gauge |
ကမ္ဘာလုံးဆိုင်ရာ အရည်အချင်းများ
<meter>
tag သည် HTML တွင် Global Attributes ကို ပံ့ပိုး ပေးပါသည်။
ဖြစ်ရပ်ဂုဏ်တော်များ
<meter>
tag သည် HTML ရှိ Event Attributes ကိုလည်း ပံ့ပိုး ပေးပါသည် ။
ဆက်စပ်စာမျက်နှာများ
HTML DOM ရည်ညွှန်း- Meter Object
မူရင်း CSS ဆက်တင်များ
တစ်ခုမှ