当前位置:
文档之家› DreamweaverHTML标记语言
DreamweaverHTML标记语言
设 置 文 档 标 题 以 及 其 他 不 在WEB 网 页 上 显 示 的 信 息
<body></body>
Sets off the visible portion of
the document
设 置 文 档 的 可 见 部 分
Header tags
标 题 标 签
<title></title>
Puts the name of the document
<img src="name" border=?>
Sets size of border around an
image
设 置 围 绕 一 个 图 像 的 边 框 的 大 小
<hr>
Inserts a horizontal rule
加 入 一 条 水 平 线
<hr size=?>
Sets size (height) of rule
创 建 斜 体 字
<tt></tt>
Creates teletype, or
typewriter-style text
创 建 打 字 机 风 格 的 字 体
<cite></cite>
Creates a citation, usually
italic
创 建 一 个 引 用, 通 常 是 斜 体
<em></em>
<font size=?></font>
Sets size of font, from 1 to 7
设 置 字 体 大 小, 从 1 到 7
<font color=?></font>
Sets font color, using name or
hex value
设 置 字 体 的 颜 色, 使 用 名 字 或 十 六 进 制 值
Creates the largest headline
创 建 最 大 的 标 题
<h6></h6>
Creates the smallest headline
创 建 最 小 的 标 题
<b></b>
Creates bold text
创 建 黑 体 字
<i></i>
Creates italic text
<div align=?>
A generic tag used to format large
blocks of HTML, also used for
stylesheets
一 个 用 来 排 版 大 块HTML 段 落 的 标 签, 也 用 于 格 式 化 表
Graphical elements
图 形 元 素
<img src="name">
Adds an image
添 加 一 个 图 像
<img src="name" align=?>
Aligns an image: left, right,
center; bottom, top, middle
排 列 对 齐 一 个 图 像: 左 中 右 或 上 中 下
设 置 水 平 线 的 大 小( 高 度)
<hr width=?>
Sets width of rule, in percentage
or absolute value
设 置 水 平 线 的 宽 度( 百 分 比 或 绝 对 像 素 点)
<hr noshade>
Creates a rule without a shadow
Links
链 接
<a href="URL"></a>
Creates a hyperlink
创 建 一 个 超 链 接
<a href="mailto:EMAIL">
</a>
Creates a mailto link
创 建 一 个 自 动 发 送 电 子 邮 件 的 链 接
<a name="NAME"></a>
or as a percentage of document width
设 置 表 格 的 宽 度- 用 绝 对 像 素 值 或 文 档 总 宽 度 的 百 分 比
<tr align=?> or <td align=?>
Sets alignment for cell(s) (left,
center, or right)
<body text=?>
Sets the text color, using
name or hex value
设 置 文 本 文 字 颜 色, 使 用 名 字 或 十 六 进 制 值
<body link=?>
Sets the color of links,
using name or hex value
Formatting
格 式 排 版
<p>
Creates a new paragraph
创 建 一 个 新 的 段 落
<p align=?>
Aligns a paragraph to the left,
right, or center
将 段 落 按 左、 中、 右 对 齐
<br>
Inserts a line break
表 格 属 性
<table border=#>
Sets width of border around
table cells
设 置 围 绕 表 格 的 边 框 的 宽 度
<table cellspacing=#>
Sets amount of space between table
cells
设 置 表 格 格 子 之 间 空 间 的 大 小
Precedes the<body>tag in a frames document; can also be nested in other framesets
放 在 一 个 窗 框 文 档 的 <body> 标 签 之 前,也 可 以 嵌 在 其 他 窗 框 文 档 中
<frameset rows="value,value">
开 始 一 行 中 的 每 一 个 格 子
<th></th>
Sets off the table header (a
normal cell with bold, centered
text)
设 置 表 格 头: 一 个 通 常 使 用 黑 体 居 中 文 字 的 格 子
Table attributes
插 入 一 个 回 车 换 行 符
<blockquote>
</blockquote>
Indents text from both sides
从 两 边 缩 进 文 本
<dl></dl>
Creates a definition list
创 建 一 个 定 义 列 表
<dt>
Precedes each definition term
设 置 链 接 颜 色, 使 用 名 字 或 十 六 进 制 值
<body vlink=?>
Sets the color of followed
links, using name or hex value
设 置 已 使 用 的 链 接 的 颜 色, 使 用 名 字 或 十 六 进 制 值
<body alink=?>
Creates a target location within
a document
创 建 一 个 位 于 文 档 内 部 的 靶 位
<a href="#NAME"></a>
Links to that target location
from elsewhere in the document
创 建 一 个 指 向 位 于 文 档 内 部 靶 位 的 链 接
Sets the color oflinks on click
设 置 正 在 被 击 中 的 链 接 的 颜 色,使 用 名 字 或 十 六 进 制 值
Text tags
文 本 标 签
<pre></pre>
Creates preformatted text
创 建 预 格 式 化 文 本
<h1></h1>
设 置 表 格 格 子 的 水 平 对 齐( 左 中 右)
<tr valign=?> or <td valign=?>
Sets vertical alignment for cell(s)
(top, middle, or bottom)
设 置 表 格 格 子 的 垂 直 对 齐( 上 中 下)
<td colspan=#>
<table cellpadding=#>
Sets amount of space between a
cell's border and its contents