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

HTML
HTML Head
HTML Meta
HTML URLs
HTML Scripts
HTML 属性
HTML 事件
HTML URL-encode
HTML Web服务器
HTML 摘要
HTML 实例
标签列表
标准属性
事件属性
ASCII码
特殊字符
HTTP状态消息

HTML <em> <strong>


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 546 ::
收藏到网摘: 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

登陆 | 还没注册?