In this article, we will learn how to define some text that has been deleted from the document.
This can be used to show a recent update in content or remove content that may be incorrect. It is usually followed by text that has been updated or corrected.
We will use the <del> element to specify text that has been deleted from the document. The browser will usually strike through the text present in this tag to distinguish it from the rest of the content. This element has two attributes that can be used to specify the citation and the time that the change was made.
The below example illustrates the <del> element to define the text that has been deleted from the document.