<del> tag in HTML
The <del> tag is used to findout text that has been deleted from a documents & used <ins> tag to markup inserted text.
Important Description
- Basically, All browsers will normally strike a line through deleted text and underline inserted text.
- Open and close tag required of <del>.
Example of <del> tag
Result Look Like
The name of country is Chin China
<del> Tag Browser Support
Element |
Chrome |
Edge |
Firefox |
Safari |
Opera |
<del> |
Yes |
Yes |
Yes |
Yes |
Yes |
Global Attributes
Event Attributes
Attributes
Attribute |
Value |
Description |
cite |
URL |
cite attribute can be used to add a URL to a document that explains the reason why the text was deleted |
datetime |
|
datetime attribute can be used to specify the time when the change was made. |