HTML del Tag

HTML del Tag


Define :
It is defined as the text that has been deleted from a document and browsers will usually strike a line through the deleted text
.
For example :


Output :
                                           
Browser Support
All browsers are supported like opera, firefox, chrome, Microsoft edge.

Attributes
Attribute
Value
Description
cite
URL
It specifies a URL to a document that explains the reason why the text was deleted.
datetime
YYYY-MM-DDThh:mm:ssTZD
It Specifies the date and time of when the text was deleted/changed

Global and Event Attributes
This tag also supports the Global and Event Attributes in HTML.

Default CSS Settings
Most browsers will display the <del> element in css
del {
  text-decoration: line-through;
}