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="URL"></a>
Creates a hyperlink
创 建 一 个 超 链 接
<a href="mailto:EMAIL"> </a>
Creates a mailto link
创 建 一 个 自 动 发 送 电 子 邮 件 的 链 接
<a name="NAME"></a>
Creates a target location within a document
创 建 一 个 位 于 文 档 内 部 的 靶 位
<a href="#NAME"></a>
Links to that target location from elsewhere in the document
创 建 一 个 指 向 位 于 文 档 内 部 靶 位 的 链 接
Formatting
格 式 排 版
<p>
Creates a new paragraph
创 建 一 个 新 的 段 落
<p align=?>
Aligns a paragraph to the left, right, or center
将 段 落 按 左、 中、 右 对 齐
<br>
Inserts a line break
插 入 一 个 回 车 换 行 符
<blockquote> </blockquote>
Indents text from both sides
从 两 边 缩 进 文 本
<dl></dl>
Creates a definition list
创 建 一 个 定 义 列 表
<dt>
Precedes each definition term
放 在 每 个 定 义 术 语 词 之 前
<dd>
Precedes each definition
放 在 每 个 定 义 之 前
<ol></ol>
Creates a numbered list
创 建 一 个 标 有 数 字 的 列 表
<li>
Precedes each list item, and adds a number
放 在 每 个 数 字 列 表 项 之 前, 并 加 上 一 个 数 字
<ul></ul>
Creates a bulleted list
创 建 一 个 标 有 圆 点 的 列 表
<li>
Precedes each list item, and adds the bullet
放 在 每 个 圆 点 列 表 项 之 前, 并 加 上 一 个 圆 点
<div align=?>
A generic tag used to format large blocks of HTML, also used for stylesheets
一 个 用 来 排 版 大 块HTML 段 落 的 标 签, 也 用 于 格 式 化 表