Comillas de estilo Propiedad
Ejemplo
Cambiar comillas:
document.getElementById("myQ").style.quotes = "'\253' '\273'";
Definición y uso
La propiedad de comillas establece o devuelve el tipo de comillas para citas incrustadas.
Compatibilidad con navegador
Property | |||||
---|---|---|---|---|---|
quotes | Yes | Yes | Yes | Yes | Yes |
Sintaxis
Devuelve la propiedad de las comillas:
object.style.quotes
Establezca la propiedad de comillas:
object.style.quotes = "none|string string string string|initial|inherit"
Valores de propiedad
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 |
Detalles técnicos
Valor por defecto: | ninguna |
---|---|
Valor devuelto: | Una cadena, que representa el tipo de comillas para citas incrustadas |
Versión CSS | CSS2 |
Más ejemplos
Ejemplo
Devuelve la propiedad de las comillas:
alert(document.getElementById("myQ").style.quotes);
páginas relacionadas
Referencia CSS: propiedad de comillas
❮ Objeto de estilo