HTML参考

上一篇 / 下一篇  2012-08-10 15:31:28 / 个人分类:实用手册

HTML参考

Basic tags基 本 标 签
<html></html>Creates an HTML document创 建 一 个HTML 文 档
<head></head>Sets off the title and other51Testing软件测试网U YA?z8L
information that isn't displayed51Testing软件测试网 @2vf+S#pMR DO
on the Web page itself
设 置 文 档 标 题 以 及 其 他 不 在WEB 网 页 上 显 示 的 信 息
<body></body>Sets off the visible portion of
)LQh5U @535016the document
设 置 文 档 的 可 见 部 分
  
Header tags
标 题 标 签
<title></title>Puts the name of the document51Testing软件测试网|x[6_/MY4M:p
in the title bar
将 文 档 的 题 目 放 在 标 题 栏 中
  
Body attributes
文 档 整 体 属 性
<body bgcolor=?>Sets the background color,
5|%D N5S\K535016using name or hex value
设 置 背 景 颜 色, 使 用 名 字 或 十 六 进 制 值
<body text=?>Sets the text color, using51Testing软件测试网m]hL ^T}k
name or hex value
设 置 文 本 文 字 颜 色, 使 用 名 字 或 十 六 进 制 值
<body link=?>Sets the color of links,51Testing软件测试网p+wK*E^ l&?G:n
using name or hex value
设 置 链 接 颜 色, 使 用 名 字 或 十 六 进 制 值
<body vlink=?>Sets the color of followed
:q[0@(g$h,y2Z'XzBT!e;S535016links, 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
0AK6D!_2M L Zn535016typewriter-style. text
创 建 打 字 机 风 格 的 字 体
<cite></cite>Creates a citation, usually51Testing软件测试网 W&H"E/N(xx:_QP
italic
创 建 一 个 引 用, 通 常 是 斜 体
<em></em>Emphasizes a word (with italic51Testing软件测试网XM1Wu"~ viP2I
or bold)
加 重 一 个 单 词( 通 常 是 斜 体 加 黑 体)
<strong></strong>Emphasizes a word (with italic
%b)g/LR0Xs+r} Y535016or bold)
加 重 一 个 单 词( 通 常 是 斜 体 加 黑 体)
<font size=?></font>Sets size of font, from 1 to 7设 置 字 体 大 小, 从 1 到 7
<font color=?></font>Sets font color, using name or
'\$l)WASv535016hex value
设 置 字 体 的 颜 色, 使 用 名 字 或 十 六 进 制 值
  
Links
链 接
<a href="URL"></a>Creates a hyperlink创 建 一 个 超 链 接
<a href="mailto:EMAIL">
C#|`@6]BB+D&a535016</a>
Creates a mailto link创 建 一 个 自 动 发 送 电 子 邮 件 的 链 接
<a name="NAME"></a>Creates a target location within51Testing软件测试网L'}D#R(~6i
a document
创 建 一 个 位 于 文 档 内 部 的 靶 位
<a href="#NAME"></a>Links to that target location
!n!dBG\w535016from elsewhere in the document
创 建 一 个 指 向 位 于 文 档 内 部 靶 位 的 链 接
  
Formatting
格 式 排 版
<p>Creates a new paragraph创 建 一 个 新 的 段 落
<p align=?>Aligns a paragraph to the left,51Testing软件测试网k:jhoB\*dP@1n0r^
right, or center
将 段 落 按 左、 中、 右 对 齐
<br>Inserts a line break插 入 一 个 回 车 换 行 符
<blockquote>51Testing软件测试网c:F'Y4Zt-Xb'Ag6e2T
</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
$uS9x g#d*|-sz v9Z535016a number
放 在 每 个 数 字 列 表 项 之 前, 并 加 上 一 个 数 字
<ul></ul>Creates a bulleted list创 建 一 个 标 有 圆 点 的 列 表
<li>Precedes each list item, and adds
r?N(z'Q J535016the bullet
放 在 每 个 圆 点 列 表 项 之 前, 并 加 上 一 个 圆 点
<div align=?>A generic tag used to format large51Testing软件测试网 R8AvX t1f
blocks of HTML, also used for
C$|pO p*w"f535016stylesheets
一 个 用 来 排 版 大 块HTML 段 落 的 标 签, 也 用 于 格 式 化 表
  
Graphical elements
图 形 元 素
<img src="name">Adds an image添 加 一 个 图 像
<img src="name" align=?>Aligns an image: left, right,51Testing软件测试网0R:pAT~*F
center; bottom, top, middle
排 列 对 齐 一 个 图 像: 左 中 右 或 上 中 下
<img src="name" border=?>Sets size of border around an51Testing软件测试网:Lk hEspA
image
设 置 围 绕 一 个 图 像 的 边 框 的 大 小
<hr>Inserts a horizontal rule加 入 一 条 水 平 线
<hr size=?>Sets size (height) of rule设 置 水 平 线 的 大 小( 高 度)
<hr width=?>Sets width of rule, in percentage
Y&p"rO q5T535016or absolute value
设 置 水 平 线 的 宽 度( 百 分 比 或 绝 对 像 素 点)
<hr noshade>Creates a rule without a shadow创 建 一 个 没 有 阴 影 的 水 平 线
  
Tables
表 格
<table></table>Creates a table创 建 一 个 表 格
<tr></tr>Sets off each row in a table开 始 表 格 中 的 每 一 行
<td></td>Sets off each cell in a row开 始 一 行 中 的 每 一 个 格 子
<th></th>Sets off the table header (a51Testing软件测试网$E%Wf1r:Aca
normal cell with bold, centered51Testing软件测试网x(mbi7\Vg&n?^p+B
text)
设 置 表 格 头: 一 个 通 常 使 用 黑 体 居 中 文 字 的 格 子
Table attributes表 格 属 性
<table border=#>Sets width of border around
'SlOm^z535016table cells
设 置 围 绕 表 格 的 边 框 的 宽 度
<table cellspacing=#>Sets amount of space between table51Testing软件测试网"P7` SeC
cells
设 置 表 格 格 子 之 间 空 间 的 大 小
<table cellpadding=#>Sets amount of space between a
MC*ye,b^4iH4Y535016cell's border and its contents
设 置 表 格 格 子 边 框 与 其 内 部 内 容 之 间 空 间 的 大 小
<table width=# or %>Sets width of table - in pixels51Testing软件测试网 AQ%^6W!AZ
or as a percentage of document width
设 置 表 格 的 宽 度- 用 绝 对 像 素 值 或 文 档 总 宽 度 的 百 分 比
<tr align=?> or <td align=?>Sets alignment for cell(s) (left,
YZgE f xa535016center, or right)
设 置 表 格 格 子 的 水 平 对 齐( 左 中 右)
<tr valign=?> or <td valign=?>Sets vertical alignment for cell(s)51Testing软件测试网{ ty1^+T J Lg%xI!i
(top, middle, or bottom)
设 置 表 格 格 子 的 垂 直 对 齐( 上 中 下)
<td colspan=#>Sets number of columns a cell should
*a_5K0y!\#O535016span (default=1)
设 置 一 个 表 格 格 子 应 跨 占 的 列 数( 缺 省 为 1)
<td rowspan=#>Sets number of rows a cell should
9R0?0{ ? |$P+ZD.n535016span (default=1)
设 置 一 个 表 格 格 子 应 跨 占 的 行 数( 缺 省 为 1)
<td nowrap>Prevents the lines within a cell
*nH4R\s%B(A jL I535016from being broken to fit
禁 止 表 格 格 子 内 的 内 容 自 动 断 行 回 卷
  
Frames窗 框
<frameset></frameset>Precedes the<body>tag in a frames document; can also be nested in other framesets放 在 一 个 窗 框 文 档 的 <body> 标 签 之 前,也 可 以 嵌 在 其 他 窗 框 文 档 中
<frameset rows="value,value">Defines the rows within a frameset,
7zHP5L o"@bji535016using number in pixels, or percentage51Testing软件测试网)v8C%nZ?B+_T
of width
定 义 一 个 窗 框 内 的 行 数, 可 以 使 用 绝 对 像 素 值 或 高 度 的 百 分 比
<frameset cols="value,value">Defines the columns within a frameset, using number in pixels, or percentage
/Ep:V2_2ot535016of width
定 义 一 个 窗 框 内 的 列 数, 可 以 使 用 绝 对 像 素 值 或 宽 度 的 百 分 比
<frame>Defines a single frame. - or region - within a frameset定 义 一 个 窗 框 内 的 单 一 窗 或 窗 区 域
<noframes></noframes>Defines what will appear on browsers51Testing软件测试网Q~c{7W2B
that don't support frames
定 义 在 不 支 持 窗 框 的 浏 览 器 中 显 示 什 么 提 示
  
Frames attributes窗 框 属 性
<frame. src="URL">Specifies which HTML document should
{x5r5N._2W5V @Qz535016be displayed
规 定 窗 框 内 显 示 什 么HTML 文 档
<frame. name="name">Names the frame, or region, so it may51Testing软件测试网&fY&p?8o:s
be targeted by other frames
命 名 窗 框 或 区 域 以 便 别 的 窗 框 可 以 指 向 它
<frame. marginwidth=#>Defines the left and right margins for the frame; must be equal to or greater than 1定 义 窗 框 左 右 边 缘 的 空 白 大 小, 必 须 大 于 等 于1
<frame. marginheight=#>Defines the top and bottom margins for the frame; must be equal to or greater than 1定 义 窗 框 上 下 边 缘 的 空 白 大 小, 必 须 大 于 等 于1
<frame. scrolling=VALUE>Sets whether the frame. has a scrollbar; value may equal "yes," "no," or "auto." The default, as in ordinary documents,51Testing软件测试网S f({3@suZ
is auto.
设 置 窗 框 是 否 有 滚 动 栏, 其 值 可 以 是 "yes", "no", "auto", 缺 省 时 一 般 为 "auto"
<frame. noresize>Prevents the user from resizing a frame禁 止 用 户 调 整 一 个 窗 框 的 大 小
  
Forms表 单
For functional forms, you'll have to run a CGI scrīpt. The HTML just creates the appearance of a form.对 于 功 能 性 的 表 单,一 般 需 要 运 行 一 个 CGI 小 程 序,HTML仅 仅 是产 生 表 单 的 表 面 样 子。
<form></form>Creates all forms创 建 所 有 表 单
<select multiple name="NAME" size=?></select>Creates a scrolling menu. Size sets the number of menu items visible before you need to scroll.创 建 一 个 滚 动 菜 单,size 设 置 在 需 要 滚 动 前 可 以 看 到 的 表 单 项 数 目
<option>Sets off each menu item设 置 每 个 表 单 项 的 内 容
<select name="NAME"></select>Creates a pulldown menu创 建 一 个 下 拉 菜 单
<option>Sets off each menu item设 置 每 个 菜 单 项 的 内 容
<textarea name="NAME" cols=40 rows=8></textarea>Creates a text box area. Columns set the width; rows set the height.创 建 一 个 文 本 框 区 域,列 的 数 目 设 置 宽 度,行 的 数 目 设 置 高 度
<input type="checkbox" name="NAME">Creates a checkbox. Text follows tag.创 建 一 个 复 选 框,文 字 在 标 签 后 面
<input type="radio" name="NAME" value="x">Creates a radio button. Text follows
YCTPM535016tag
创 建 一 个 单 选 框,文 字 在 标 签 后 面
<input type=text name="foo" size=20>Creates a one-line text area. Size
\?WIpt&hb%L OA535016sets length, in characters.
创 建 一 个 单 行 文 本 输 入 区 域,size 设 置 以 字 符 计 的 宽 度
<input type="submit" value="NAME">Creates a Submit button创 建 一 个 submit(提 交)按 钮
<input type="image" border=0 name="NAME" src="name.gif">Creates a Submit button using an image创 建 一 个 使 用 图 象 的 submit(提 交)按 钮
<input type="reset">Creates a Reset button创 建 一 个 reset(重 置)按 钮
51Testing软件测试网e~i}3h*Q}i

各种实用手册

Basic tags基 本 标 签
<html></html>Creates an HTML document创 建 一 个HTML 文 档
<head></head>Sets off the title and other51Testing软件测试网U YA?z8L
information that isn't displayed51Testing软件测试网 @2vf+S#pMR DO
on the Web page itself
设 置 文 档 标 题 以 及 其 他 不 在WEB 网 页 上 显 示 的 信 息
<body></body>Sets off the visible portion of
)LQh5U @535016the document
设 置 文 档 的 可 见 部 分
  
Header tags
标 题 标 签
<title></title>Puts the name of the document51Testing软件测试网|x[6_/MY4M:p
in the title bar
将 文 档 的 题 目 放 在 标 题 栏 中
  
Body attributes
文 档 整 体 属 性
<body bgcolor=?>Sets the background color,
5|%D N5S\K535016using name or hex value
设 置 背 景 颜 色, 使 用 名 字 或 十 六 进 制 值
<body text=?>Sets the text color, using51Testing软件测试网m]hL ^T}k
name or hex value
设 置 文 本 文 字 颜 色, 使 用 名 字 或 十 六 进 制 值
<body link=?>Sets the color of links,51Testing软件测试网p+wK*E^ l&?G:n
using name or hex value
设 置 链 接 颜 色, 使 用 名 字 或 十 六 进 制 值
<body vlink=?>Sets the color of followed
:q[0@(g$h,y2Z'XzBT!e;S535016links, 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
0AK6D!_2M L Zn535016typewriter-style. text
创 建 打 字 机 风 格 的 字 体
<cite></cite>Creates a citation, usually51Testing软件测试网 W&H"E/N(xx:_QP
italic
创 建 一 个 引 用, 通 常 是 斜 体
<em></em>Emphasizes a word (with italic51Testing软件测试网XM1Wu"~ viP2I
or bold)
加 重 一 个 单 词( 通 常 是 斜 体 加 黑 体)
<strong></strong>Emphasizes a word (with italic
%b)g/LR0Xs+r} Y535016or bold)
加 重 一 个 单 词( 通 常 是 斜 体 加 黑 体)
<font size=?></font>Sets size of font, from 1 to 7设 置 字 体 大 小, 从 1 到 7
<font color=?></font>Sets font color, using name or
'\$l)WASv535016hex value
设 置 字 体 的 颜 色, 使 用 名 字 或 十 六 进 制 值
  
Links
链 接
<a href="URL"></a>Creates a hyperlink创 建 一 个 超 链 接
<a href="mailto:EMAIL">
C#|`@6]BB+D&a535016</a>
Creates a mailto link创 建 一 个 自 动 发 送 电 子 邮 件 的 链 接
<a name="NAME"></a>Creates a target location within51Testing软件测试网L'}D#R(~6i
a document
创 建 一 个 位 于 文 档 内 部 的 靶 位
<a href="#NAME"></a>Links to that target location
!n!dBG\w535016from elsewhere in the document
创 建 一 个 指 向 位 于 文 档 内 部 靶 位 的 链 接
  
Formatting
格 式 排 版
<p>Creates a new paragraph创 建 一 个 新 的 段 落
<p align=?>Aligns a paragraph to the left,51Testing软件测试网k:jhoB\*dP@1n0r^
right, or center
将 段 落 按 左、 中、 右 对 齐
<br>Inserts a line break插 入 一 个 回 车 换 行 符
<blockquote>51Testing软件测试网c:F'Y4Zt-Xb'Ag6e2T
</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
$uS9x g#d*|-sz v9Z535016a number
放 在 每 个 数 字 列 表 项 之 前, 并 加 上 一 个 数 字
<ul></ul>Creates a bulleted list创 建 一 个 标 有 圆 点 的 列 表
<li>Precedes each list item, and adds
r?N(z'Q J535016the bullet
放 在 每 个 圆 点 列 表 项 之 前, 并 加 上 一 个 圆 点
<div align=?>A generic tag used to format large51Testing软件测试网 R8AvX t1f
blocks of HTML, also used for
C$|pO p*w"f535016stylesheets
一 个 用 来 排 版 大 块HTML 段 落 的 标 签, 也 用 于 格 式 化 表
  
Graphical elements
图 形 元 素
<img src="name">Adds an image添 加 一 个 图 像
<img src="name" align=?>Aligns an image: left, right,51Testing软件测试网0R:pAT~*F
center; bottom, top, middle
排 列 对 齐 一 个 图 像: 左 中 右 或 上 中 下
<img src="name" border=?>Sets size of border around an51Testing软件测试网:Lk hEspA
image
设 置 围 绕 一 个 图 像 的 边 框 的 大 小
<hr>Inserts a horizontal rule加 入 一 条 水 平 线
<hr size=?>Sets size (height) of rule设 置 水 平 线 的 大 小( 高 度)
<hr width=?>Sets width of rule, in percentage
Y&p"rO q5T535016or absolute value
设 置 水 平 线 的 宽 度( 百 分 比 或 绝 对 像 素 点)
<hr noshade>Creates a rule without a shadow创 建 一 个 没 有 阴 影 的 水 平 线
  
Tables
表 格
<table></table>Creates a table创 建 一 个 表 格
<tr></tr>Sets off each row in a table开 始 表 格 中 的 每 一 行
<td></td>Sets off each cell in a row开 始 一 行 中 的 每 一 个 格 子
<th></th>Sets off the table header (a51Testing软件测试网$E%Wf1r:Aca
normal cell with bold, centered51Testing软件测试网x(mbi7\Vg&n?^p+B
text)
设 置 表 格 头: 一 个 通 常 使 用 黑 体 居 中 文 字 的 格 子
Table attributes表 格 属 性
<table border=#>Sets width of border around
'SlOm^z535016table cells
设 置 围 绕 表 格 的 边 框 的 宽 度
<table cellspacing=#>Sets amount of space between table51Testing软件测试网"P7` SeC
cells
设 置 表 格 格 子 之 间 空 间 的 大 小
<table cellpadding=#>Sets amount of space between a
MC*ye,b^4iH4Y535016cell's border and its contents
设 置 表 格 格 子 边 框 与 其 内 部 内 容 之 间 空 间 的 大 小
<table width=# or %>Sets width of table - in pixels51Testing软件测试网 AQ%^6W!AZ
or as a percentage of document width
设 置 表 格 的 宽 度- 用 绝 对 像 素 值 或 文 档 总 宽 度 的 百 分 比
<tr align=?> or <td align=?>Sets alignment for cell(s) (left,
YZgE f xa535016center, or right)
设 置 表 格 格 子 的 水 平 对 齐( 左 中 右)
<tr valign=?> or <td valign=?>Sets vertical alignment for cell(s)51Testing软件测试网{ ty1^+T J Lg%xI!i
(top, middle, or bottom)
设 置 表 格 格 子 的 垂 直 对 齐( 上 中 下)
<td colspan=#>Sets number of columns a cell should
*a_5K0y!\#O535016span (default=1)
设 置 一 个 表 格 格 子 应 跨 占 的 列 数( 缺 省 为 1)
<td rowspan=#>Sets number of rows a cell should
9R0?0{ ? |$P+ZD.n535016span (default=1)
设 置 一 个 表 格 格 子 应 跨 占 的 行 数( 缺 省 为 1)
<td nowrap>Prevents the lines within a cell
*nH4R\s%B(A jL I535016from being broken to fit
禁 止 表 格 格 子 内 的 内 容 自 动 断 行 回 卷
  
Frames窗 框
<frameset></frameset>Precedes the<body>tag in a frames document; can also be nested in other framesets放 在 一 个 窗 框 文 档 的 <body> 标 签 之 前,也 可 以 嵌 在 其 他 窗 框 文 档 中
<frameset rows="value,value">Defines the rows within a frameset,
7zHP5L o"@bji535016using number in pixels, or percentage51Testing软件测试网)v8C%nZ?B+_T
of width
定 义 一 个 窗 框 内 的 行 数, 可 以 使 用 绝 对 像 素 值 或 高 度 的 百 分 比
<frameset cols="value,value">Defines the columns within a frameset, using number in pixels, or percentage
/Ep:V2_2ot535016of width
定 义 一 个 窗 框 内 的 列 数, 可 以 使 用 绝 对 像 素 值 或 宽 度 的 百 分 比
<frame>Defines a single frame. - or region - within a frameset定 义 一 个 窗 框 内 的 单 一 窗 或 窗 区 域
<noframes></noframes>Defines what will appear on browsers51Testing软件测试网Q~c{7W2B
that don't support frames
定 义 在 不 支 持 窗 框 的 浏 览 器 中 显 示 什 么 提 示
  
Frames attributes窗 框 属 性
<frame. src="URL">Specifies which HTML document should
{x5r5N._2W5V @Qz535016be displayed
规 定 窗 框 内 显 示 什 么HTML 文 档
<frame. name="name">Names the frame, or region, so it may51Testing软件测试网&fY&p?8o:s
be targeted by other frames
命 名 窗 框 或 区 域 以 便 别 的 窗 框 可 以 指 向 它
<frame. marginwidth=#>Defines the left and right margins for the frame; must be equal to or greater than 1定 义 窗 框 左 右 边 缘 的 空 白 大 小, 必 须 大 于 等 于1
<frame. marginheight=#>Defines the top and bottom margins for the frame; must be equal to or greater than 1定 义 窗 框 上 下 边 缘 的 空 白 大 小, 必 须 大 于 等 于1
<frame. scrolling=VALUE>Sets whether the frame. has a scrollbar; value may equal "yes," "no," or "auto." The default, as in ordinary documents,51Testing软件测试网S f({3@suZ
is auto.
设 置 窗 框 是 否 有 滚 动 栏, 其 值 可 以 是 "yes", "no", "auto", 缺 省 时 一 般 为 "auto"
<frame. noresize>Prevents the user from resizing a frame禁 止 用 户 调 整 一 个 窗 框 的 大 小
  
Forms表 单
For functional forms, you'll have to run a CGI scrīpt. The HTML just creates the appearance of a form.对 于 功 能 性 的 表 单,一 般 需 要 运 行 一 个 CGI 小 程 序,HTML仅 仅 是产 生 表 单 的 表 面 样 子。
<form></form>Creates all forms创 建 所 有 表 单
<select multiple name="NAME" size=?></select>Creates a scrolling menu. Size sets the number of menu items visible before you need to scroll.创 建 一 个 滚 动 菜 单,size 设 置 在 需 要 滚 动 前 可 以 看 到 的 表 单 项 数 目
<option>Sets off each menu item设 置 每 个 表 单 项 的 内 容
<select name="NAME"></select>Creates a pulldown menu创 建 一 个 下 拉 菜 单
<option>Sets off each menu item设 置 每 个 菜 单 项 的 内 容
<textarea name="NAME" cols=40 rows=8></textarea>Creates a text box area. Columns set the width; rows set the height.创 建 一 个 文 本 框 区 域,列 的 数 目 设 置 宽 度,行 的 数 目 设 置 高 度
<input type="checkbox" name="NAME">Creates a checkbox. Text follows tag.创 建 一 个 复 选 框,文 字 在 标 签 后 面
<input type="radio" name="NAME" value="x">Creates a radio button. Text follows
YCTPM535016tag
创 建 一 个 单 选 框,文 字 在 标 签 后 面
<input type=text name="foo" size=20>Creates a one-line text area. Size
\?WIpt&hb%L OA535016sets length, in characters.
创 建 一 个 单 行 文 本 输 入 区 域,size 设 置 以 字 符 计 的 宽 度
<input type="submit" value="NAME">Creates a Submit button创 建 一 个 submit(提 交)按 钮
<input type="image" border=0 name="NAME" src="name.gif">Creates a Submit button using an image创 建 一 个 使 用 图 象 的 submit(提 交)按 钮
<input type="reset">Creates a Reset button创 建 一 个 reset(重 置)按 钮

TAG:

 

评分:0

我来说两句

日历

« 2024-04-30  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 28620
  • 日志数: 46
  • 书签数: 2
  • 建立时间: 2012-07-31
  • 更新时间: 2013-06-06

RSS订阅

Open Toolbar