HTML <audio> သည် Attribute ကို ထိန်းချုပ် သည်။
ဥပမာ
ဘရောက်ဆာ မူရင်းထိန်းချုပ်မှုများပါရှိသော <audio> အစိတ်အပိုင်းတစ်ခု-
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
attribute သည် controls
boolean attribute တစ်ခုဖြစ်သည်။
အသံထိန်းချုပ်မှုများ ပါဝင်သင့်သည်-
- ကစားပါ။
- ခဏရပ်ပါ။
- လိုက်ရှာသည်။
- အတွဲ
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် attribute ကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးပါသည်။
Attribute | |||||
---|---|---|---|---|---|
controls | 4.0 | 9.0 | 3.5 | 4.0 | 11.5 |
အထားအသို
<audio controls>
❮ HTML <audio> တဂ်