HTML DOM Ul Object
Ul Object
Ul object သည် HTML <ul> element ကို ကိုယ်စားပြုသည်။
Ul Object ကို ဝင်သုံးပါ။
getElementById() ကို အသုံးပြု၍ <ul> ဒြပ်စင်တစ်ခုကို သင်ဝင်ရောက်နိုင်သည်။
ဥပမာ
var x = document.getElementById("myUL");
Ul Object ဖန်တီးပါ။
document.createElement() နည်းလမ်းကို အသုံးပြု၍ <ul> element တစ်ခုကို ဖန်တီးနိုင်သည်-
ဥပမာ
var x = document.createElement("UL");
Ul Object Properties
Property | Description |
---|---|
compact | Not supported in HTML5. Use
style.lineHeight instead. Sets or returns whether the unordered list should render smaller than normal, or not |
type | Not supported in HTML5. Use
style.listStyleType instead. Sets or returns the value of the type attribute of an unordered list |
စံသတ်မှတ်ချက်များနှင့် အစီအစဉ်များ
Ul အရာဝတ္ထုသည် စံ ဂုဏ်သတ္တိများ နှင့် ဖြစ်ရပ်များ ကို ပံ့ပိုးပေးသည် ။
ဆက်စပ်စာမျက်နှာများ
HTML သင်ခန်းစာ- HTML စာရင်းများ
HTML ရည်ညွှန်း- HTML <ul> တဂ်