del tag

<Del> (Delete Tag)

Explanation

Del tag is used to remove a word from a content.
<del>Text</del>
Element Specific attributes supported by this tag are:
AttributeValueDescription
cite url Used to describe the reason for deleting the particular text.
datetime YYYY-MM-DDThh:mm:ssTZD It mentions the date and time at when the text was deleted.

Example Code:

Result :

Capital of India is Delhi New Delhi

  • The striked text denotes that the word has been deleted from the content.
  • It simply strikes over the text. But it does not remove it.
  • It is not necessary to add <ins> with this tag.
It is available in the previous versions of HTML.
It supports both Global Attributes and Event Attributes in HTML5.

Limitations:

It is applicable to all major browsers.

Ask Questions

Ask Question