当前位置: 首页 > 网络学院 > 网页制作基础教程 > HTML > HTML <ins>标签

HTML
HTML 介绍
HTML 元素
HTML 基本标签
HTML 格式
HTML 实体字符
HTML 链接
HTML 框架
HTML 表格
HTML 列表
HTML 表单
HTML 图片
HTML 背景
HTML 颜色
HTML 颜色值
HTML 颜色名
HTML 便条
HTML 布局
HTML 字体
HTML 4.0
HTML 样式

HTML <ins>标签


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 420 ::
收藏到网摘: n/a

定义与用法

Defines inserted text.
定义一个插入的文本


在HTML和XHTML中的区别

NONE


提示与注意点

Tip: Use it together with the <del> tag to describe updates and modifications to a document.
提示:配合使用<del>可以用来描述文档的更新以及修改情况


实例

代码 输出结果
a dozen is <del>20</del> <ins>12</ins> pieces! a dozen is 20 12 pieces!


可选属性

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 A URL to another document which explains why the text was inserted
另一文档的URL,目的是用来解释为什么文字会被插入
STF
datetime YYYYMMDD Defines the date and time when the text was inserted
定义文字于何时被插入
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.
如何为一文档加上删除文字和插入文字

评论 (0) All

登陆 | 还没注册?