HTML 5 <del> Tag
Example
A text with a deleted part and a new inserted part:
<p>My favorite color is <del>blue</del> <ins>red</ins>!</p> |
View it » |
Definition and Usage
The <del> tag defines text that has been deleted from a document.
Differences Between HTML 4.01 and HTML 5
NONE
Tips and Notes
Tip: Use it together with the <ins> tag to describe updates and
modifications in a document.
Attributes
Attribute |
Value |
Description |
cite |
URL |
Defines a URL to another document which explains why the text was deleted or
inserted |
datetime |
yyyy/mm/dd |
Defines the date and time the text was deleted |
Standard Attributes
The <a> tag also supports the Standard Attributes in HTML 5.
Event Attributes
The <a> tag also supports the Event Attributes
in HTML 5.
|