HTML DOM Meta Object
Meta Object
Meta အရာဝတ္ထုသည် HTML <meta> ဒြပ်စင်ကို ကိုယ်စားပြုသည်။
Meta Object ကို ဝင်သုံးပါ။
getElementsByTagName(): ကို အသုံးပြု၍ <meta> ဒြပ်စင်တစ်ခုကို သင်ဝင်ရောက်နိုင်သည်။
var x = document.getElementsByTagName("META")[0];
Meta Object တစ်ခုကို ဖန်တီးပါ။
document.createElement() နည်းလမ်းကို အသုံးပြု၍ <meta> ဒြပ်စင်တစ်ခုကို ဖန်တီးနိုင်သည်-
ဥပမာ
var x = document.createElement("META");
Meta Object Properties
Property | Description |
---|---|
content | Sets or returns the value of the content attribute of a meta element |
httpEquiv | Sets or returns an HTTP header for the information in the content attribute |
name | Sets or returns a name for the information in the content attribute |
scheme | Not supported in HTML5. Sets or returns how the value of the content attribute should be interpreted |
စံသတ်မှတ်ချက်များနှင့် အစီအစဉ်များ
Meta object သည် စံ ဂုဏ်သတ္တိများ နှင့် အဖြစ်အပျက်များ ကို ပံ့ပိုး ပေးပါသည်။
ဆက်စပ်စာမျက်နှာများ
HTML ရည်ညွှန်း- HTML <meta> တဂ်