เราสามารถจัดเก็บข้อมูลเพิ่มเติมเกี่ยวกับองค์ประกอบได้โดยใช้ attribute data-* ตัวอย่างต่อไปนี้แสดงการใช้งาน data-* attribute ใน CSS ตัวอย่างที่ 1: การใช้กับ JavaScript <!DOCTYPE html> <html> <head> <style> dl { margin: 2%; } p { width: 60%; background-color: li