คำพูดสไตล์คุณสมบัติ
ตัวอย่าง
เปลี่ยนเครื่องหมายคำพูด:
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: คำพูดคุณสมบัติ
❮ สไตล์วัตถุ