Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การเขียนโปรแกรม >> CSS

การกำหนดเครื่องหมายคำพูดด้วย CSS


ใช้คุณสมบัติ quotes เพื่อกำหนดเครื่องหมายคำพูด คุณสามารถลองรันโค้ดต่อไปนี้เพื่อนำคุณสมบัติ quotes ไปใช้ได้

ตัวอย่าง

<!DOCTYPE html> <html>    <head>       <style>          #demo {             quotes: "'" "'";          }       </style>    </head>    <body>       <p>          <q id = "demo">          This is demo text surrounded by quotes.          </q>       </p>    </body> </html>