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

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

HTML <tt> <i> <


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

Definition and Usage
用法

The following elements are all font style elements. They are not deprecated, but it is possible to achieve richer effects using style sheets.
以下的这些元素都是针对字体样式的。它们是符合标准的,但如果使用样式表的话可以达到更丰富的效果

<tt> Renders as teletype or mono spaced text
电报文字或是单一间隙文字
<i> Renders as italic text
斜体文字
<b> Renders as bold text
加粗文字
<big> Renders as bigger text
加大文字
<small> Renders as smaller text
缩小文字


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

NONE


Example
实例

Source
代码
Output
输出效果
<tt>Teletype text</tt><br />
<i>Italic text</i><br />
<b>Bold text</b><br />
<big>Big text</big><br />
<small>Small text</small><br />
Teletype text
 Italic text
Bold text
Big text
Small text


Standard Attributes
标准属性

id, class, title, style, dir, lang

For a full description, go to Standard Attributes.
查看完整描述

Event Attributes
事件属性

onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown onkeyup

For a full description, go to Event Attributes.
查看完整描述


Try-It-Yourself Demos
演示

Text formatting
This example demonstrates how you can format text in a document.
演示如何为你的文档文字加上格式效果

评论 (0) All

登陆 | 还没注册?