From http://www.w3schools.com (Copyright Refsnes Data)

HTML 5 <del> tag


Definition and Usage

Defines text that has been deleted in 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.


Example

Source Output
a dozen is <del>20</del> 12 pieces a dozen is 20 12 pieces


Attributes

Attribute Value Description 4 5
cite URL Defines a URL to another document which explains why the text was deleted or inserted 4 5
datetime YYYYMMDD Defines the date and time the text was deleted 4 5

Standard Attributes

class, contenteditable, contextmenu, dir, draggable, id, irrelevant, lang, ref, registrationmark, tabindex, template, title

For a full description, go to Standard Attributes in HTML 5.

Event Attributes

onabort, onbeforeunload, onblur, onchange, onclick, oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, onerror, onfocus, onkeydown, onkeypress, onkeyup, onload, onmessage, onmousedown, onmousemove, onmouseover, onmouseout, onmouseup, onmousewheel, onresize, onscroll, onselect, onsubmit, onunload

For a full description, go to Event Attributes in HTML 5.


Try-It-Yourself Demos

Deleted and inserted text
How to mark deleted and inserted text in a document.


From http://www.w3schools.com (Copyright Refsnes Data)