当前位置: 首页 > 网络学院 > 网页制作基础教程 > HTML > HTML <del>标签
Defines text that has been deleted in a document.
定义文档要被删除的文字
NONE
无
Tip: Use it together with the <ins> tag to describe updates and modifications in a document.
提示:它于<ins>标签配合使用可以用来描述文档中更新或是被修改的地方。
代码 | 输出 |
---|---|
a dozen is <del>20</del> 12 pieces | a dozen is |
DTD indicates in which DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
下表中的DTD列指明了被支持的DTD属性。S=Strict(精确的),T=Transitional(传统的),F=Frameset(框架)
属性名 | 值 | 描述 | DTD |
---|---|---|---|
cite | URL | Defines a URL to another document which explains why the text was deleted or inserted 定义一个连接到另一文档的URL来解释为什么删除或是插入该段文字 | STF |
datetime | YYYYMMDD | Defines the date and time the text was deleted 定义文字被删除的时间 | STF |
id, class, title, style, dir, lang, xml:lang |
For a full description, go to Standard Attributes.
查看完整的描述
onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup |
For a full description, go to Event Attributes.
查看完整的描述
Deleted and inserted text
How to mark deleted and inserted text in a document.
怎样在文档中标记上被删除或是被插入的文字