शैली उद्धरण संपत्ति
उदाहरण
उद्धरण चिह्न बदलें:
document.getElementById("myQ").style.quotes = "'\253' '\273'";
परिभाषा और उपयोग
उद्धरण गुण एम्बेडेड कोटेशन के लिए उद्धरण चिह्नों के प्रकार को सेट या लौटाता है।
ब्राउज़र समर्थन
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 |
टेक्निकल डिटेल
डिफ़ॉल्ट मान: | कोई नहीं |
---|---|
प्रतिलाभ की मात्रा: | एम्बेडेड कोटेशन के लिए उद्धरण चिह्नों के प्रकार का प्रतिनिधित्व करने वाला एक स्ट्रिंग |
सीएसएस संस्करण | सीएसएस 2 |
और ज्यादा उदाहरण
उदाहरण
उद्धरण संपत्ति वापस करें:
alert(document.getElementById("myQ").style.quotes);
संबंधित पृष्ठ
सीएसएस संदर्भ: संपत्ति उद्धरण
❮ स्टाइल ऑब्जेक्ट