📜  HTML del标签

📅  最后修改于: 2020-11-04 00:54:27             🧑  作者: Mango

的HTML标签

的HTML标记用于表示已从文档中删除/删除的文本范围。它用作已删除内容的标记。浏览器通常通过在已删除的文本上打一行来呈现它,尽管可以使用CSS属性来更改它。

注意:要标识已删除的文本和插入的文本,请使用标记它将在文档中显示已删除和已插入的文本。

句法

 Content........

以下是有关HTML的一些规范标签

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

例子1




Del tag


Example of Del Tag

It represent the deleted text.

输出:

例子2

使用CSS和标签




Del tag



Example of Del Tag

Rishi came to Rahul's palce to shock surprise him

输出:

属性

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.

全局属性

的HTML标记支持全局属性。

事件属性

的HTML标签支持事件属性。

支持的浏览器

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes