စတိုင် ကိုးကား အိမ်ခြံမြေ
ဥပမာ
ကိုးကားအမှတ်အသားများကို ပြောင်းလဲပါ-
document.getElementById("myQ").style.quotes = "'\253' '\273'";
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ကိုးကားချက်များ ပိုင်ဆိုင်မှုသည် ထည့်သွင်းထားသော ကိုးကားချက်များအတွက် ကိုးကားချက်အမျိုးအစားကို သတ်မှတ်ပေးသည် သို့မဟုတ် ပြန်ပေးသည်။
Browser ပံ့ပိုးမှု
Property | |||||
---|---|---|---|---|---|
quotes | Yes | Yes | Yes | Yes | Yes |
အထားအသို
ကိုးကားချက်ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ။
object.style.quotes
ကိုးကားပိုင်ဆိုင်မှုကို သတ်မှတ်ပါ-
object.style.quotes = "none|string string string string|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
none | Specifies that the open-quote and close-quote values will not produce any quotation marks. This is default |
string string string string | Specifies which quotation marks to use. The first two values specifies the first level of quotation embedding, the next two values specifies the next level of quote embedding, etc |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
နည်းပညာဆိုင်ရာအသေးစိတ်
မူလတန်ဖိုး: | မရှိ |
---|---|
ပြန်ပို့တန်ဖိုး- | ထည့်သွင်းထားသော ကိုးကားချက်များအတွက် ကိုးကားချက်အမျိုးအစားကို ကိုယ်စားပြုသည့် စာကြောင်းတစ်ခု |
CSS ဗားရှင်း | CSS2 |
နောက်ထပ် ဥပမာများ
ဥပမာ
ကိုးကားချက်ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ။
alert(document.getElementById("myQ").style.quotes);
ဆက်စပ်စာမျက်နှာများ
CSS ရည်ညွှန်းချက်- ပိုင်ဆိုင်မှုကို ကိုးကားသည် ။
❮ စတိုင်အရာဝတ္ထု