نمط يقتبس الملكية
مثال
تغيير علامات الاقتباس:
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 |
تفاصيل تقنية
القيمة الافتراضية: | لا أحد |
---|---|
قيمة الإرجاع: | سلسلة ، تمثل نوع علامات الاقتباس لعروض الأسعار المضمنة |
إصدار CSS | CSS2 |
مزيد من الأمثلة
مثال
إعادة خاصية عروض الأسعار:
alert(document.getElementById("myQ").style.quotes);
الصفحات ذات الصلة
مرجع CSS: يقتبس الممتلكات
❮ نمط الكائن