HTML <del> datetime Atribut
Příklad
Smazaný text s datem a časem, kdy byl text smazán:
<p>
<del datetime="2015-11-15T22:55:03Z">This text has been deleted</del>
</p>
Definice a použití
Atribut
datetime
určuje datum a čas, kdy byl text odstraněn.
Podpora prohlížeče
Attribute | |||||
---|---|---|---|---|---|
datetime | Yes | Yes | Yes | Yes | Yes |
Poznámka: Atribut
datetime
nemá v běžných webových prohlížečích žádný vizuální efekt, ale mohou jej používat programy pro čtení z obrazovky.
Syntax
<del datetime="YYYY-MM-DDThh:mm:ssTZD">
Hodnoty atributů
Value | Description |
---|---|
YYYY-MM-DDThh:mm:ssTZD | The date and time of when the text was deleted. Explanation of components:
|
❮ HTML tag <del>