Styl aanhalings Eiendom
Voorbeeld
Verander aanhalingstekens:
document.getElementById("myQ").style.quotes = "'\253' '\273'";
Definisie en gebruik
Die aanhalingseienskap stel of gee die tipe aanhalingstekens vir ingebedde aanhalings terug.
Blaaierondersteuning
Property | |||||
---|---|---|---|---|---|
quotes | Yes | Yes | Yes | Yes | Yes |
Sintaksis
Gee die kwotasies-eiendom terug:
object.style.quotes
Stel die kwotasies-eienskap:
object.style.quotes = "none|string string string string|initial|inherit"
Eiendomswaardes
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 |
Tegniese besonderhede
Standaard waarde: | geen |
---|---|
Terugkeerwaarde: | 'n String, wat die tipe aanhalingstekens vir ingebedde aanhalings verteenwoordig |
CSS weergawe | CSS2 |
Meer voorbeelde
Voorbeeld
Gee die kwotasies-eiendom terug:
alert(document.getElementById("myQ").style.quotes);
Verwante bladsye
CSS verwysing: kwotasies eiendom
❮ Stylvoorwerp