ပုံစံ စာသားအလှဆင်ခြင်းအရောင် ပိုင်ဆိုင်မှု
ဥပမာ
မျဉ်းသားထားသော စာသားဖြင့် မျဉ်း၏အရောင်ကို ပြောင်းပါ-
document.getElementById("demo").style.textDecorationColor = "red";
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
TextDecorationColor ပိုင်ဆိုင်မှုသည် စာသားအလှဆင်ခြင်း၏အရောင် (မျဉ်းသား၊ အထပ်များ၊ မျဉ်းကြောင်းများ) ကို သတ်မှတ်သည်။
မှတ်ချက် ။
Browser ပံ့ပိုးမှု
Property | |||||
---|---|---|---|---|---|
textDecorationColor | 57 | 79.0 | 36.0 6.0 Moz |
7.1 Webkit | 44.0 |
အထားအသို
စာသားအလှဆင်အရောင် ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ။
object.style.textDecorationColor
TextDecorationColor ကို သတ်မှတ်ပါ ။
object.style.textDecorationColor = "color|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
color | Specifies the color of the text-decoration |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
နည်းပညာဆိုင်ရာအသေးစိတ်
မူလတန်ဖိုး: | လက်ရှိအရောင် |
---|---|
ပြန်ပို့တန်ဖိုး- | ဒြပ်စင်တစ်ခု၏ စာသား-အလှဆင်-အရောင် ပိုင်ဆိုင်မှုကို ကိုယ်စားပြုသော စာတန်း |
CSS ဗားရှင်း | CSS3 |
ဆက်စပ်စာမျက်နှာများ
CSS ရည်ညွှန်းချက်- စာသား-အလှဆင်-အရောင် ပိုင်ဆိုင်မှု
❮ စတိုင်အရာဝတ္ထု