Styl uvozovek Vlastnost
Příklad
Změnit uvozovky:
document.getElementById("myQ").style.quotes = "'\253' '\273'";
Definice a použití
Vlastnost quotes nastavuje nebo vrací typ uvozovek pro vložené nabídky.
Podpora prohlížeče
Property | |||||
---|---|---|---|---|---|
quotes | Yes | Yes | Yes | Yes | Yes |
Syntax
Vraťte vlastnost uvozovek:
object.style.quotes
Nastavte vlastnost uvozovek:
object.style.quotes = "none|string string string string|initial|inherit"
Hodnoty vlastností
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 |
Technické údaje
Výchozí hodnota: | žádný |
---|---|
Návratová hodnota: | Řetězec představující typ uvozovek pro vložené uvozovky |
Verze CSS | CSS2 |
Další příklady
Příklad
Vraťte vlastnost uvozovek:
alert(document.getElementById("myQ").style.quotes);
Související stránky
CSS reference: vlastnost citací
❮ Objekt stylu