HTML အကိုးအကား

အက္ခရာဖြင့် HTML HTML အမျိုးအစားအလိုက် HTML Browser ပံ့ပိုးမှု HTML အရည်အချင်းများ HTML ကမ္ဘာလုံးဆိုင်ရာ အရည်အချင်းများ HTML ပွဲများ HTML အရောင်များ HTML Canvas HTML အသံ/ဗီဒီယို HTML အက္ခရာအစုံများ HTML Doctypes HTML URL ကုဒ် HTML ဘာသာစကားကုဒ်များ HTML နိုင်ငံကုဒ်များ HTTP မက်ဆေ့ခ်ျများ HTTP နည်းလမ်းများ PX မှ EM Converter ကီးဘုတ်ဖြတ်လမ်းများ


HTML <menu> မှာ Attribute လို့ ရိုက် ထည့်ပါ။

❮ HTML <menu> တဂ်

ဥပမာ

စကားစပ်မီနူး-

<menu type="context" id="mymenu">
  <menuitem label="Refresh" onclick="window.location.reload();" icon="ico_reload.png">
  </menuitem>
  <menu label="Share on...">
    <menuitem label="Twitter" icon="ico_twitter.png"
    onclick="window.open('//twitter.com/intent/tweet?text='+window.location.href);">
    </menuitem>
    <menuitem label="Facebook" icon="ico_facebook.png"
    onclick="window.open('//facebook.com/sharer/sharer.php?u='+window.location.href);">
    </menuitem>
  </menu>
  <menuitem label="Email This Page"
  onclick="window.location='mailto:?body='+window.location.href;"></menuitem>
</menu>

အဓိပ္ပါယ်နှင့် အသုံးပြုမှု

အမျိုးအစား attribute သည် မီနူးအမျိုးအစားကို သတ်မှတ်သည်။


Browser ပံ့ပိုးမှု

ဇယားရှိ နံပါတ်များသည် attribute ကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးပါသည်။

Attribute
type Not supported Not supported 8.0
(only type="context")
Not supported Not supported

အထားအသို

<menu type="list|context|toolbar">

ရည်ညွှန်းတန်ဖိုးများ

Value Description
list Default. Specifies a list menu. A list of commands (li elements), that the user can perform or activate
context Specifies a context menu. The menu must be activated before the user can interact with the commands
toolbar Specifies a toolbar menu. Active commands, allows the user to interact with the commands immediately

❮ HTML <menu> တဂ်