Цитаты о стиле Недвижимость
Пример
Изменить кавычки:
document.getElementById("myQ").style.quotes = "'\253' '\273'";
Определение и использование
Свойство quotes задает или возвращает тип кавычек для встроенных цитат.
Поддержка браузера
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: свойство quotes
❮ Объект стиля