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

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

HTML <em> <strong>


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

Definition and Usage
使用方法

The following elements are all phrase elements. They are not deprecated, but it is possible to achieve a much richer effect using style sheets.
下面所列举的段落元素都是标准的,使用样式表可以让它们的表现形式更加丰富

<em> Renders as emphasized text
强调某些文字
<strong> Renders as strong emphasized text
加强某些文字
<dfn> Defines a definition term
术语定义
<code> Defines computer code text
计算机代码
<samp> Defines sample computer code
代码样本
<kbd> Defines keyboard text
键符文字
<var> Defines a variable
定义变量
<cite> Defines a citation
定义引证


Differences Between HTML and XHTML
它们在HTML和XHTML中的区别

NONE


实例

代码 输出的结果
<em>Emphasized text</em><br />
<strong>Strong text</strong><br />
<dfn>Definition term</dfn><br />
<code>Computer code text</code><br />
<samp>Sample computer code text</samp><br />
<kbd>Keyboard text</kbd><br />
<var>Variable</var><br />
<cite>Citation</cite>
Emphasized text
Strong text
Definition term
Computer code text
Sample computer code text
Keyboard text
Variable
Citation


标准属性

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.
查看完整的描述


尝试与演示

Text formatting
This example demonstrates how you can format text in a document.
怎样在文档里格式化文字

"Computer output" tags
Demonstrates how different "computer output" tags will be displayed.
几个不同的"计算机输出"标签显示出来的区别

评论 (0) All

登陆 | 还没注册?