HTML tag

HTML tag is used to represent the range of text that has been deleted/removed from the document. It is used as a Markup for the deleted content. The browser generally renders it by strike a line through the deleted text, although this can be changed using the CSS property.

Note: To identify the deleted text and inserted text use tag with which will display deleted and inserted text in a document.

Syntax

Following are some specifications about the HTML tag

Display Inline
Start tag/End tag Both Start and End tag
Usage Textual

Example 1

Test it Now

Output:

HTML del tag

Example 2

Using CSS and tag

Test it Now

Output:

HTML del tag

Attribute

Attribute Value Description
cite URL It specifies a URL of the resource which explains change or reason of deleting text.
datetime YYYY-MM-DDThh:mm:ssTZD It specifies the date and time when text is deleted.

Global Attribute

HTML tag supports the Global attributes.

Event Attribute

HTML tag supports the Event attributes.

Supporting Browsers

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes
Next TopicHTML details tag




Contact US

Email:[email protected]

HTML del Tag
10/30