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

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

HTML <tt> <i> <


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

登陆 | 还没注册?