HTML <ins> แอตทริบิวต์วันที่และ เวลา
ตัวอย่าง
ข้อความที่แทรก โดยมีวันที่และเวลาที่แทรกข้อความ:
<p>This is a text.
<ins datetime="2015-09-15T22:55:03Z">This is an inserted text.</ins></p>
ความหมายและการใช้งาน
แอตทริบิวต์datetime
ระบุวันที่และเวลาที่ข้อความถูกแทรก/เปลี่ยนแปลง
รองรับเบราว์เซอร์
Attribute | |||||
---|---|---|---|---|---|
datetime | Yes | Yes | Yes | Yes | Yes |
หมายเหตุ:คุณลักษณะdatetime
นี้ไม่มีเอฟเฟกต์ภาพในเว็บเบราว์เซอร์ทั่วไป แต่สามารถใช้โดยโปรแกรมอ่านหน้าจอ
ไวยากรณ์
<ins datetime="YYYY-MM-DDThh:mm:ssTZD">
ค่าแอตทริบิวต์
Value | Description |
---|---|
YYYY-MM-DDThh:mm:ssTZD | Specifies the date and time of when the text was inserted/changed. Explanation of components:
|
❮ แท็ก HTML <ins>