当前位置: 首页 > 网络学院 > 网页制作基础教程 > HTML > HTML <s> 和 <strike&g

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

HTML <s> 和 <strike&g


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

定义与用法

The <s> and <strike> tags defines strikethrough text.
<s>和<strike>可用来定义需要去除的文字


在HTML和XHTML中的区别

The <s> and <strike> elements were deprecated in HTML 4.01.
在HTML4.01中<s>和<strike>元素已经不再被推荐使用

The <s> and <strike> elements are not supported in XHTML 1.0 Strict DTD.
XHTML1.0严密型DTD将不再支持<s>和<strike>元素


提示与注意

Tip: Use <del> instead!
注意:使用<del>可用来替代它们


实例

代码 输出结果
A new version is <s>not yet available.</s> now available!
<br />
<br />
A new version is <strike>not yet available.</strike> now available!
A new version is not yet available. now available!

A new version is not yet available. now available!


标准属性

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.
查看完整的属性

评论 (0) All

登陆 | 还没注册?