Loading...
HTML <del> Tag

HTML <del> Tag

In this tutorial, we will learn about del tag in HTML with the help of examples.


<del> Tag

Del tag <del> is used to defines the text in which bold line strike through it.

Syntax

<del>.....</del>

Example

<!DOCTYPE html>
<html>
  <head>
    <title>Del Tag</title>
  </head>
  <body>
    <p>You are learning <del>HMTL</del> HTML.</p>
  </body>
</html>

Output

You are learning HMTL HTML.


Specific Attribute

Attribute Value Description
cite URL Specifies a URL to a document that explains the reason why the text was deleted
datetime YYYY-MM-DD hh:mm:ss Specifies the date and time when the text was deleted

Global Attribute

Del Tag support all the global attributes of HTML.


Event Attribute

Del Tag support all the event attributes of HTML.


Next Tutorial

We hope that this tutorial helped you develop better understanding of the concept of del tag in HTML.

Keep Learning : )

In the next tutorial, you'll learn about HTML details Tag.

- Related Topics