HTML Tutorial
The HTML <del>
tag represents deleted text, indicating that the content is no longer accurate or relevant. It visually strikes through the text using a horizontal line.
<del>
Use the <del>
tag to:
<del>
The <del>
tag supports several attributes:
<del>
<p>The original text was "This is the old content."</p>
<p>The deleted text is: <del>This is the old content.</del></p>
Output:
The original text was "This is the old content."
The deleted text is: This is the old content.
Exploring the <del>
Tag
HTML Example:
<!DOCTYPE html>
<html>
<body>
<h1>The Deleted Text</h1>
<p>The following text has been deleted: <del>This is the old text.</del></p>
</body>
</html>
Output:
The following text has been deleted: This is the old text.