Basic tags | 基 本 标 签 |
<html></html> | Creates an HTML document | 创 建 一 个HTML 文 档 |
<head></head> | Sets off the title and other information that isn't displayed on the Web page itself | 设 置 文 档 标 题 以 及 其 他 不 在WEB 网 页 上 显 示 的 信 息 |
<body></body> | Sets off the visible portion of the document | 设 置 文 档 的 可 见 部 分 |
| |
Header tags | 标 题 标 签 |
<title></title> | Puts the name of the document in the title bar | 将 文 档 的 题 目 放 在 标 题 栏 中 |
| |
Body attributes | 文 档 整 体 属 性 |
<body bgcolor=?> | Sets the background color, using name or hex value | 设 置 背 景 颜 色, 使 用 名 字 或 十 六 进 制 值 |
<body text=?> | Sets the text color, using name or hex value | 设 置 文 本 文 字 颜 色, 使 用 名 字 或 十 六 进 制 值 |
<body link=?> | Sets the color of links, using name or hex value | 设 置 链 接 颜 色, 使 用 名 字 或 十 六 进 制 值 |
<body vlink=?> | Sets the color of followed links, using name or hex value | 设 置 已 使 用 的 链 接 的 颜 色, 使 用 名 字 或 十 六 进 制 值 |
<body alink=?> | Sets the color of links on click | 设 置 正 在 被 击 中 的 链 接 的 颜 色, 使 用 名 字 或 十 六 进 制 值 |
| |
Text tags | 文 本 标 签 |
<pre></pre> | Creates preformatted text | 创 建 预 格 式 化 文 本 |
<h1></h1> | Creates the largest headline | 创 建 最 大 的 标 题 |
<h6></h6> | Creates the smallest headline | 创 建 最 小 的 标 题 |
<b></b> | Creates bold text | 创 建 黑 体 字 |
<i></i> | Creates italic text | 创 建 斜 体 字 |
<tt></tt> | Creates teletype, or typewriter-style text | 创 建 打 字 机 风 格 的 字 体 |
<cite></cite> | Creates a citation, usually italic | 创 建 一 个 引 用, 通 常 是 斜 体 |
<em></em> | Emphasizes a word (with italic or bold) | 加 重 一 个 单 词( 通 常 是 斜 体 加 黑 体) |
<strong></strong> | Emphasizes a word (with italic or bold) | 加 重 一 个 单 词( 通 常 是 斜 体 加 黑 体) |
<font size=?></font> | Sets size of font, from 1 to 7 | 设 置 字 体 大 小, 从 1 到 7 |
<font color=?></font> | Sets font color, using name or hex value | 设 置 字 体 的 颜 色, 使 用 名 字 或 十 六 进 制 值 |
| |
Links | 链 接 |
<a href=> | Creates a hyperlink | 创 建 一 个 超 链 接 |
<a href=></a> | Creates a mailto link | 创 建 一 个 自 动 发 送 电 子 邮 件 的 链 接 |
<a name="NAME"></a> | Creates a target location within a document | 创 建 一 个 位 于 文 档 内 部 的 靶 位 |
<a href=> | Links to that target location from elsewhere in the document | 创 建 一 个 指 向 位 于 文 档 内 部 靶 位 的 链 接 |
| |
Formatting | 格 式 排 版 |
上一个:常用的控制符 下一个:HTML快速参考--结构标记
|