admin管理员组

文章数量:1532222

2024年3月28日发(作者:)

【MeiWei_81-优质适用文档】

DW代码大全

一、、、:

定义和用法:构成Html文档的重要组成部分,缺一不可。

1、标签:此元素可告知浏览器其自身是一个HTML文档。与

标签限定了文档的开始点和结束点。

2、标签:定义文档的主体。它包含文档的所有内容(比如文本、图像、

颜色和图形等等。)

3、标签:用于定义文档的头部。下面这些标签可用在head部分:

,,

4、

5、标签:定义文档的标题。通常把它放置在浏览器窗口的标题栏或状态</p><p style="text-indent: 2em;font-size:18px;">栏上。 </p><p style="text-indent: 2em;font-size:18px;">三、<a>超链接标签: </p><p style="text-indent: 2em;font-size:18px;">·定义和用法:<a>标签可定义锚。一个锚有两种用法。 </p><p style="text-indent: 2em;font-size:18px;">1、通过使用href属性,创建一个到另外一个文档的链接。如:</p><p style="text-indent: 2em;font-size:18px;"><ahref=""target="_blank"title="百度">百度</a> </p><p style="text-indent: 2em;font-size:18px;">2、通过使用name或id属性,创建一个文档内部的书签。如:定义锚点</p><p style="text-indent: 2em;font-size:18px;"><aname="a1"id="a1"></a>;指向锚点<ahref="#a1">返回顶端</a> </p><p style="text-indent: 2em;font-size:18px;">·<a>标签常用属性: </p><p style="text-indent: 2em;font-size:18px;">1、href:描述另一个文档的地址。 </p><p style="text-indent: 2em;font-size:18px;">2、target:指定文档在哪个窗口打开。 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">3、title:指定链接的标题。 </p><p style="text-indent: 2em;font-size:18px;">4、name:定义锚点的名称。 </p><p style="text-indent: 2em;font-size:18px;">四、<h1>--<h6>标签: </p><p style="text-indent: 2em;font-size:18px;"><h1>-<h6>标签可定义标题。<h1>定义最大的标题。<h6>定义最小的标题。 </p><p style="text-indent: 2em;font-size:18px;">如: </p><p style="text-indent: 2em;font-size:18px;"><h1>这是标题一</h1> </p><p style="text-indent: 2em;font-size:18px;"><h2>这是标题二</h2> </p><p style="text-indent: 2em;font-size:18px;"><h3>这是标题三</h3> </p><p style="text-indent: 2em;font-size:18px;"><h4>这是标题四</h4> </p><p style="text-indent: 2em;font-size:18px;"><h5>这是标题五</h5> </p><p style="text-indent: 2em;font-size:18px;"><h6>这是标题六</h6> </p><p style="text-indent: 2em;font-size:18px;">五、<p>标签:可定义一个段落。 </p><p style="text-indent: 2em;font-size:18px;">如: </p><p style="text-indent: 2em;font-size:18px;"><p>这是第一段的内容。</p> </p><p style="text-indent: 2em;font-size:18px;"><p>这是第二段的内容。</p> </p><p style="text-indent: 2em;font-size:18px;">六、</p><p style="text-indent: 2em;font-size:18px;">标签:可插入一个简单的换行符。 </p><p style="text-indent: 2em;font-size:18px;">如:这是第一行。<br/>这是第二行。 </p><p style="text-indent: 2em;font-size:18px;">七、<img>标签:可定义一副图像。即在网页指定位置插入图片。 </p><p style="text-indent: 2em;font-size:18px;">如: </p><p style="text-indent: 2em;font-size:18px;">八、<hr>标签:可插入一个水平线。水平分隔线(horizontalrule)可以在视觉上</p><p style="text-indent: 2em;font-size:18px;">将文档分隔成各个部分。<hrwidth="1000"size="1"noshade="noshade"/> </p><p style="text-indent: 2em;font-size:18px;">如:<hralign="center"width="800"size="1"/> </p><p style="text-indent: 2em;font-size:18px;">九、<table>、<tr>、<td>、<caption>、<th>标签: </p><p style="text-indent: 2em;font-size:18px;">1、<table>标签可定义表格。在<table>标签内部,可以放置表格的标题、表格</p><p style="text-indent: 2em;font-size:18px;">行、表格列、表格单元以及其他的表格。 </p><p style="text-indent: 2em;font-size:18px;">2、<tr>标签在表格中定义一行。 </p><p style="text-indent: 2em;font-size:18px;">3、<td>标签定义表格中的一个单元格。<td>标签属性:colspan=合并列单元格;</p><p style="text-indent: 2em;font-size:18px;">rowspan=合并行。 </p><p style="text-indent: 2em;font-size:18px;">5、<th>标签定义表格内的表头单元格。此th元素内部的文本通常会呈现为粗体。 </p><p style="text-indent: 2em;font-size:18px;">6、<caption>标签可定义一个表格标题。caption标签必须紧随table标签之后。</p><p style="text-indent: 2em;font-size:18px;">您只能对每个表格定义一个标题。通常这个标题会被居中于表格之上。 </p><p style="text-indent: 2em;font-size:18px;">十、<form>标签: </p><p style="text-indent: 2em;font-size:18px;">form元素可为用户输入创建表单。表单可包含文本域,复选框,单选按钮等等。</p><p style="text-indent: 2em;font-size:18px;">表单用于向指定的URL传递用户数据。 </p><p style="text-indent: 2em;font-size:18px;">·使用方法:<formid="form1"name="form1"method="post"action=""></form> </p><p style="text-indent: 2em;font-size:18px;">·<form>标签属性: </p><p style="text-indent: 2em;font-size:18px;">1、id、name:用来标识表单的名称。 </p><p style="text-indent: 2em;font-size:18px;">2、method:提供和程序进行数据交换的方法。取值为post和get。 </p><p style="text-indent: 2em;font-size:18px;">3、action:提供和程序进行交换的程序路径,即接口程序。 </p><p style="text-indent: 2em;font-size:18px;">十一、<input>标签: </p><p style="text-indent: 2em;font-size:18px;"><input>标签可定义输入域,在其中用户可输入数据。其中包括文本字段、多选</p><p style="text-indent: 2em;font-size:18px;">列表、可单击的图像和提交按钮等。此标签的type属性和name属性是必需的。 </p><p style="text-indent: 2em;font-size:18px;">1、type的取值。type属性用来区分不同的输入域。它的取值分别为:text(文本</p><p style="text-indent: 2em;font-size:18px;">域)、password(密码域)、hidden(隐藏域)、checkbox(复选框)、radio(单</p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">选框)、image(图像按钮)、file(文件域)、submit(提交按钮)、reset(重置</p><p style="text-indent: 2em;font-size:18px;">按钮)、button(普通按钮)。 </p><p style="text-indent: 2em;font-size:18px;">十二、<select>标签: </p><p style="text-indent: 2em;font-size:18px;">1、用法:<select>元素可创建单选或多选菜单。 </p><p style="text-indent: 2em;font-size:18px;">2、格式: </p><p style="text-indent: 2em;font-size:18px;"><selectname="select"> </p><p style="text-indent: 2em;font-size:18px;"><option>张三</option> </p><p style="text-indent: 2em;font-size:18px;"><option>李四</option> </p><p style="text-indent: 2em;font-size:18px;"><optionselected="selected">王五</option> </p><p style="text-indent: 2em;font-size:18px;"></select> </p><p style="text-indent: 2em;font-size:18px;">3、<option>元素可定义下拉列表中的一个选项(一个条目)。 </p><p style="text-indent: 2em;font-size:18px;">格式:<optionselected="selected">张三</option>,其中selected属性表示默认</p><p style="text-indent: 2em;font-size:18px;">选项。 </p><p style="text-indent: 2em;font-size:18px;">十三、<textarea>标签: </p><p style="text-indent: 2em;font-size:18px;">1、用法:定义一个文本区域(一个多行的文本输入区域)。 </p><p style="text-indent: 2em;font-size:18px;">2、格式:<textareaname="textarea"cols="30"rows="6">请在此处输入留言内容</p><p style="text-indent: 2em;font-size:18px;"></textarea> </p><p style="text-indent: 2em;font-size:18px;">3、属性: </p><p style="text-indent: 2em;font-size:18px;">I、cols:设置输入框的列数。 </p><p style="text-indent: 2em;font-size:18px;">II、rows:设置输入框的行数。 </p><p style="text-indent: 2em;font-size:18px;">十四、<i>、<b>、<u>、<s>标签: </p><p style="text-indent: 2em;font-size:18px;">以下的元素均是字体样式元素。建议使用CSS来取代这些效果。 </p><p style="text-indent: 2em;font-size:18px;"><u>标签可定义下划线文本。 </p><p style="text-indent: 2em;font-size:18px;"><s>标签可定义加删除线文本定义。 </p><p style="text-indent: 2em;font-size:18px;"><i>标签可定义斜体。 </p><p style="text-indent: 2em;font-size:18px;"><b>标签可定义粗体。 </p><p style="text-indent: 2em;font-size:18px;">十K五、<sub>、<sup>标签: </p><p style="text-indent: 2em;font-size:18px;">1、<sup>标签可定义上标文本。 </p><p style="text-indent: 2em;font-size:18px;">2、<sub>标签可定义下标文本。 </p><p style="text-indent: 2em;font-size:18px;">3、说明:<sub>和<sup>标签,常用在数学等式、科学符号和化学公式中。 </p><p style="text-indent: 2em;font-size:18px;">十六、<dl>、<dt>、<dd>标签: </p><p style="text-indent: 2em;font-size:18px;">1、<dl>标签定义列表。 </p><p style="text-indent: 2em;font-size:18px;">2、<dt>定义列表中的项目(即术语部分)。 </p><p style="text-indent: 2em;font-size:18px;">3、<dd>可在定义列表中定义条目的定义部分。 </p><p style="text-indent: 2em;font-size:18px;">十七、<ol>、<ul>、<li>标签: </p><p style="text-indent: 2em;font-size:18px;">1、<ol>标签定义有序列表。<ol>标签属性:type="1/a/A/i/I"。 </p><p style="text-indent: 2em;font-size:18px;">2、<ul>标签定义无序列表。<ul>标签属性:type="circle/disc/square" </p><p style="text-indent: 2em;font-size:18px;">3、<li>标签定义列表项目。<li>标签可用在有序列表(<ol>)和无序列表(<ul>)中。 </p><p style="text-indent: 2em;font-size:18px;">十八、<div>标签: </p><p style="text-indent: 2em;font-size:18px;">1、可定义文档中的分区或节(division/section)。<div>标签可以把文档分割为</p><p style="text-indent: 2em;font-size:18px;">独立的、不同的部分。 </p><p style="text-indent: 2em;font-size:18px;">2、<div>常用id或class来标记,这样可以方便控制其样式。 </p><p style="text-indent: 2em;font-size:18px;">十九、<span>标签: </p><p style="text-indent: 2em;font-size:18px;">1、<span>标签被用来组合文档中的行内元素。 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">2、说明:span没有固定的格式表现。当对它应用样式时,它才会产生视觉上的</p><p style="text-indent: 2em;font-size:18px;">变化。 </p><p style="text-indent: 2em;font-size:18px;">二十、注释标签: </p><p style="text-indent: 2em;font-size:18px;">1、说明:注释标签用来在源文档中插入注释。注释会被浏览器忽略。 </p><p style="text-indent: 2em;font-size:18px;">2、格式:<!--这里面写注释内容--> </p><p style="text-indent: 2em;font-size:18px;">二十一、<map>、<area>标签: </p><p style="text-indent: 2em;font-size:18px;">1、<map>标签定义一个图像映射。图像映射指带有可点击区域的一幅图像。 </p><p style="text-indent: 2em;font-size:18px;">2、<area>标签定义图像映射中的某个区域。此元素永远被嵌套在<map>标签内</p><p style="text-indent: 2em;font-size:18px;">部。 </p><p style="text-indent: 2em;font-size:18px;">二十二、<fieldset>、<legend>、<label>标签 </p><p style="text-indent: 2em;font-size:18px;">1、<fieldset>标签可将表单内的相关元素分组。它将表单内容的一部分打包,生</p><p style="text-indent: 2em;font-size:18px;">成一组相关表单的字段。 </p><p style="text-indent: 2em;font-size:18px;">2、<legend>标签可为fieldset定义一个标题。 </p><p style="text-indent: 2em;font-size:18px;">3、<label>标签用来定义一个关联标记,将信息附属在表单控件上。 </p><p style="text-indent: 2em;font-size:18px;">如: </p><p style="text-indent: 2em;font-size:18px;"><fieldset> </p><p style="text-indent: 2em;font-size:18px;"><legend>用户登录</legend> </p><p style="text-indent: 2em;font-size:18px;"><form> </p><p style="text-indent: 2em;font-size:18px;"><labelfor="UserName">用户</p><p style="text-indent: 2em;font-size:18px;">名:</label><inputid="UserName"name="UserName"type="text"/> </p><p style="text-indent: 2em;font-size:18px;"><labelfor="Password">密</p><p style="text-indent: 2em;font-size:18px;">码:</label><inputid="Password"name="Password"type="password"/> </p><p style="text-indent: 2em;font-size:18px;"></form> </p><p style="text-indent: 2em;font-size:18px;"></fieldset> </p><p style="text-indent: 2em;font-size:18px;">二十三、<!DOCTYPE>定义文档类型: </p><p style="text-indent: 2em;font-size:18px;"><!DOCTYPE>声明位于文档中的最前面的位置,处于<html>标签之前。此标签</p><p style="text-indent: 2em;font-size:18px;">告知浏览器文档使用哪种HTML或XHTML规范。 </p><p style="text-indent: 2em;font-size:18px;">二十四、<iframe>标签: </p><p style="text-indent: 2em;font-size:18px;">iframe元素会创建一个包含另外一个文档的内联框架。 </p><p style="text-indent: 2em;font-size:18px;">二十K五、<pre>标签: </p><p style="text-indent: 2em;font-size:18px;"><pre>元素可定义预格式化的文本。被包围在<pre>元素中的文本通常会保留空</p><p style="text-indent: 2em;font-size:18px;">格和换行符。 </p><p style="text-indent: 2em;font-size:18px;">二十六、<tbody>、<thead>、<tfoot> </p><p style="text-indent: 2em;font-size:18px;">使用这些标签,可以将表格分为一个单独的部分,将表格中的一行或几行合成一</p><p style="text-indent: 2em;font-size:18px;">组。加快网页的下载速度。 </p><p style="text-indent: 2em;font-size:18px;">dreamweaver中各种代码的含义(转载) </p><p style="text-indent: 2em;font-size:18px;"><marquee>...</marquee>普通卷动 </p><p style="text-indent: 2em;font-size:18px;"><marqueebehavior=slide>...</marquee>滑动 </p><p style="text-indent: 2em;font-size:18px;"><marqueebehavior=scroll>...</marquee>预设卷动 </p><p style="text-indent: 2em;font-size:18px;"><marqueebehavior=alternate>...</marquee>来回卷动 </p><p style="text-indent: 2em;font-size:18px;"><marqueedirection=down>...</marquee>向下卷动 </p><p style="text-indent: 2em;font-size:18px;"><marqueedirection=up>...</marquee>向上卷动 </p><p style="text-indent: 2em;font-size:18px;"><marqueedirection=right></marquee>向右卷动 </p><p style="text-indent: 2em;font-size:18px;"><marqueedirection=left></marquee>向左卷动 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;"><marqueeloop=2>...</marquee>卷动次数 </p><p style="text-indent: 2em;font-size:18px;"><marqueewidth=180>...</marquee>设定宽度 </p><p style="text-indent: 2em;font-size:18px;"><marqueeheight=30>...</marquee>设定高度 </p><p style="text-indent: 2em;font-size:18px;"><marqueebgcolor=FF0000>...</marquee>设定背景颜色 </p><p style="text-indent: 2em;font-size:18px;"><marqueescrollamount=30>...</marquee>设定卷动距离 </p><p style="text-indent: 2em;font-size:18px;"><marqueescrolldelay=300>...</marquee>设定卷动时间 </p><p style="text-indent: 2em;font-size:18px;"><!>字体效果 </p><p style="text-indent: 2em;font-size:18px;"><h1>...</h1>标题字(最大) </p><p style="text-indent: 2em;font-size:18px;"><h6>...</h6>标题字(最小) </p><p style="text-indent: 2em;font-size:18px;"><b>...</b>粗体字 </p><p style="text-indent: 2em;font-size:18px;"><strong>...</strong>粗体字(强调) </p><p style="text-indent: 2em;font-size:18px;"><i>...</i>斜体字 </p><p style="text-indent: 2em;font-size:18px;"><em>...</em>斜体字(强调) </p><p style="text-indent: 2em;font-size:18px;"><dfn>...</dfn>斜体字(表示定义) </p><p style="text-indent: 2em;font-size:18px;"><u>...</u>底线 </p><p style="text-indent: 2em;font-size:18px;"><ins>...</ins>底线(表示插入文字) </p><p style="text-indent: 2em;font-size:18px;"><strike>...</strike>横线 </p><p style="text-indent: 2em;font-size:18px;"><s>...</s>删除线 </p><p style="text-indent: 2em;font-size:18px;"><del>...</del>删除线(表示删除) </p><p style="text-indent: 2em;font-size:18px;"><kbd>...</kbd>键盘文字 </p><p style="text-indent: 2em;font-size:18px;"><tt>...</tt>打字体 </p><p style="text-indent: 2em;font-size:18px;"><xmp>...</xmp>固定宽度字体(在文件中空白、换行、定位功能有效) </p><p style="text-indent: 2em;font-size:18px;"><plaintext>...</plaintext>固定宽度字体(不执行标记符号) </p><p style="text-indent: 2em;font-size:18px;"><listing>...</listing>固定宽度小字体 </p><p style="text-indent: 2em;font-size:18px;"><fontcolor=00ff00>...</font>字体颜色 </p><p style="text-indent: 2em;font-size:18px;"><fontsize=1>...</font>最小字体 </p><p style="text-indent: 2em;font-size:18px;"><fontstyle=font-size:100px>...</font>无限增大 </p><p style="text-indent: 2em;font-size:18px;"><!>区断标记 </p><p style="text-indent: 2em;font-size:18px;"><hr>水平线 </p><p style="text-indent: 2em;font-size:18px;"><hrsize=9>水平线(设定大小) </p><p style="text-indent: 2em;font-size:18px;"><hrwidth=80%>水平线(设定宽度) </p><p style="text-indent: 2em;font-size:18px;"><hrcolor=ff0000>水平线(设定颜色) </p><p style="text-indent: 2em;font-size:18px;"></p><p style="text-indent: 2em;font-size:18px;">(换行) </p><p style="text-indent: 2em;font-size:18px;"><nobr>...</nobr>水域(不换行) </p><p style="text-indent: 2em;font-size:18px;"><p>...</p>水域(段落) </p><p style="text-indent: 2em;font-size:18px;"><center>...</center>置中 </p><p style="text-indent: 2em;font-size:18px;"><!>连结格式 </p><p style="text-indent: 2em;font-size:18px;"><basehref=地址>(预设好连结路径) </p><p style="text-indent: 2em;font-size:18px;"><ahref=地址></a>外部连结 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;"><ahref=地址target=_blank></a>外部连结(另开新窗口) </p><p style="text-indent: 2em;font-size:18px;"><ahref=地址target=_top></a>外部连结(全窗口连结) </p><p style="text-indent: 2em;font-size:18px;"><ahref=地址target=页框名></a>外部连结(在指定页框连结) </p><p style="text-indent: 2em;font-size:18px;"><!>贴图/音乐 </p><p style="text-indent: 2em;font-size:18px;">贴图 </p><p style="text-indent: 2em;font-size:18px;">设定图片宽度 </p><p style="text-indent: 2em;font-size:18px;">设定图片高度 </p><p style="text-indent: 2em;font-size:18px;">设定图片提示文字 </p><p style="text-indent: 2em;font-size:18px;">设定图片边框 </p><p style="text-indent: 2em;font-size:18px;"><bgsoundsrc=MID音乐文件地址>背景音乐设定 </p><p style="text-indent: 2em;font-size:18px;"><!>表格语法 </p><p style="text-indent: 2em;font-size:18px;"><tablealing=left>...</table>表格位置,置左 </p><p style="text-indent: 2em;font-size:18px;"><tablealing=center>...</table>表格位置,置中 </p><p style="text-indent: 2em;font-size:18px;"><tablebackground=图片路径>...</table>背景图片的URL=就是路径网</p><p style="text-indent: 2em;font-size:18px;">址 </p><p style="text-indent: 2em;font-size:18px;"><tableborder=边框大小>...</table>设定表格边框大小(使用数字) </p><p style="text-indent: 2em;font-size:18px;"><tablebgcolor=颜色码>...</table>设定表格的背景颜色 </p><p style="text-indent: 2em;font-size:18px;"><tableborderclor=颜色码>...</table>设定表格边框的颜色 </p><p style="text-indent: 2em;font-size:18px;"><tableborderclordark=颜色码>...</table>设定表格暗边框的颜色 </p><p style="text-indent: 2em;font-size:18px;"><tableborderclorlight=颜色码>...</table>设定表格亮边框的颜色 </p><p style="text-indent: 2em;font-size:18px;"><tablecellpadding=参数>...</table>指定内容与网格线之间的间距</p><p style="text-indent: 2em;font-size:18px;">(使用数字) </p><p style="text-indent: 2em;font-size:18px;"><tablecellspacing=参数>...</table>指定网格线与网格线之间的距</p><p style="text-indent: 2em;font-size:18px;">离(使用数字) </p><p style="text-indent: 2em;font-size:18px;"><tablecols=参数>...</table>指定表格的栏数 </p><p style="text-indent: 2em;font-size:18px;"><tableframe=参数>...</table>设定表格外框线的显示方式 </p><p style="text-indent: 2em;font-size:18px;"><tablewidth=宽度>...</table>指定表格的宽度大小(使用数字) </p><p style="text-indent: 2em;font-size:18px;"><tableheight=高度>...</table>指定表格的高度大小(使用数字) </p><p style="text-indent: 2em;font-size:18px;"><tdcolspan=参数>...</td>指定储存格合并栏的栏数(使用数字) </p><p style="text-indent: 2em;font-size:18px;"><tdrowspan=参数>...</td>指定储存格合并列的列数(使用数字) </p><p style="text-indent: 2em;font-size:18px;"><!>分割窗口 </p><p style="text-indent: 2em;font-size:18px;"><framesetcols="20%,K">左右分割,将左边框架分割大小为20%右边框</p><p style="text-indent: 2em;font-size:18px;">架的大小浏览器会自动调整 </p><p style="text-indent: 2em;font-size:18px;"><framesetrows="20%,K">上下分割,将上面框架分割大小为20%下面框</p><p style="text-indent: 2em;font-size:18px;">架的大小浏览器会自动调整 </p><p style="text-indent: 2em;font-size:18px;"><framesetcols="20%,K">分割左右两个框架 </p><p style="text-indent: 2em;font-size:18px;"><framesetcols="20%,K,20%">分割左中右三个框架 </p><p style="text-indent: 2em;font-size:18px;"><分割上下两个框架 </p><p style="text-indent: 2em;font-size:18px;"><framesetrows="20%,K,20%">分割上中下三个框架 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;"><!--...-->批注 </p><p style="text-indent: 2em;font-size:18px;"><AHREFTARGET>指定超级链接的分割窗口 </p><p style="text-indent: 2em;font-size:18px;"><AHREF=#锚的名称>指定锚名称的超级链接 </p><p style="text-indent: 2em;font-size:18px;"><AHREF>指定超级链接 </p><p style="text-indent: 2em;font-size:18px;"><ANAME=锚的名称>被连结点的名称 </p><p style="text-indent: 2em;font-size:18px;"><ADDRESS>....</ADDRESS>用来显示电子邮箱地址 </p><p style="text-indent: 2em;font-size:18px;"><B>粗体字 </p><p style="text-indent: 2em;font-size:18px;"><BASETARGET>指定超级链接的分割窗口 </p><p style="text-indent: 2em;font-size:18px;"><BASEFONTSIZE>更改预设字形大小 </p><p style="text-indent: 2em;font-size:18px;"><BGSOUNDSRC>加入背景音乐 </p><p style="text-indent: 2em;font-size:18px;"><BIG>显示大字体 </p><p style="text-indent: 2em;font-size:18px;"><BLINK>闪烁的文字 </p><p style="text-indent: 2em;font-size:18px;"><BODYTEXTLINKVLINK>设定文字颜色 </p><p style="text-indent: 2em;font-size:18px;"><BODY>显示本文 </p><p style="text-indent: 2em;font-size:18px;"><BR>换行 </p><p style="text-indent: 2em;font-size:18px;"><CAPTIONALIGN>设定表格标题位置 </p><p style="text-indent: 2em;font-size:18px;"><CAPTION>...</CAPTION>为表格加上标题 </p><p style="text-indent: 2em;font-size:18px;"><CENTER>向中对齐 </p><p style="text-indent: 2em;font-size:18px;"><CITE>...<CITE>用于引经据典的文字 </p><p style="text-indent: 2em;font-size:18px;"><CODE>...</CODE>用于列出一段程序代码 </p><p style="text-indent: 2em;font-size:18px;"><COMMENT>...</COMMENT>加上批注 </p><p style="text-indent: 2em;font-size:18px;"><DD>设定定义列表的项目解说 </p><p style="text-indent: 2em;font-size:18px;"><DFN>...</DFN>显示"定义"文字 </p><p style="text-indent: 2em;font-size:18px;"><DIR>...</DIR>列表文字卷标 </p><p style="text-indent: 2em;font-size:18px;"><DL>...</DL>设定定义列表的卷标 </p><p style="text-indent: 2em;font-size:18px;"><DT>设定定义列表的项目 </p><p style="text-indent: 2em;font-size:18px;"><EM>强调之用 </p><p style="text-indent: 2em;font-size:18px;"><FONTFACE>任意指定所用的字形 </p><p style="text-indent: 2em;font-size:18px;"><FONTSIZE>设定字体大小 </p><p style="text-indent: 2em;font-size:18px;"><FORMACTION>设定户动式窗体的处理方式 </p><p style="text-indent: 2em;font-size:18px;"><FORMMETHOD>设定户动式窗体之资料传送方式 </p><p style="text-indent: 2em;font-size:18px;"><FRAMEMARGINHEIGHT>设定窗口的上下边界 </p><p style="text-indent: 2em;font-size:18px;"><FRAMEMARGINWIDTH>设定窗口的左右边界 </p><p style="text-indent: 2em;font-size:18px;"><FRAMENAME>为分割窗口命名 </p><p style="text-indent: 2em;font-size:18px;"><FRAMENORESIZE>锁住分割窗口的大小 </p><p style="text-indent: 2em;font-size:18px;"><FRAMESCROLLING>设定分割窗口的滚动条 </p><p style="text-indent: 2em;font-size:18px;"><FRAMESRC>将HTML文件加入窗口 </p><p style="text-indent: 2em;font-size:18px;"><FRAMESETCOLS>将窗口分割成左右的子窗口 </p><p style="text-indent: 2em;font-size:18px;"><FRAMESETROWS>将窗口分割成上下的子窗口 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;"><FRAMESET>...</FRAMESET>划分分割窗口 </p><p style="text-indent: 2em;font-size:18px;"><H1>~<H6>设定文字大小 </p><p style="text-indent: 2em;font-size:18px;"><HEAD>标示文件信息 </p><p style="text-indent: 2em;font-size:18px;"><HR>加上分网格线 </p><p style="text-indent: 2em;font-size:18px;"><HTML>文件的开始与结束 </p><p style="text-indent: 2em;font-size:18px;"><I>斜体字 </p><p style="text-indent: 2em;font-size:18px;">调整图形影像的位置 </p><p style="text-indent: 2em;font-size:18px;">为你的图形影像加注 </p><p style="text-indent: 2em;font-size:18px;">加入影片 </p><p style="text-indent: 2em;font-size:18px;">插入图片并预设图形大小 </p><p style="text-indent: 2em;font-size:18px;">插入图片并预设图形的左右边界 </p><p style="text-indent: 2em;font-size:18px;">预载图片功能 </p><p style="text-indent: 2em;font-size:18px;">设定图片边界 </p><p style="text-indent: 2em;font-size:18px;">插入图片 </p><p style="text-indent: 2em;font-size:18px;">插入图片并预设图形的上下边界 </p><p style="text-indent: 2em;font-size:18px;"><INPUTTYPENAMEvalue>在窗体中加入输入字段 </p><p style="text-indent: 2em;font-size:18px;"><ISINDEX>定义查询用窗体 </p><p style="text-indent: 2em;font-size:18px;"><KBD>...</KBD>表示使用者输入文字 </p><p style="text-indent: 2em;font-size:18px;"><LITYPE>...</LI>列表的项目(可指定符号) </p><p style="text-indent: 2em;font-size:18px;"><MARQUEE>跑马灯效果 </p><p style="text-indent: 2em;font-size:18px;"><MENU>...</MENU>条列文字卷标 </p><p style="text-indent: 2em;font-size:18px;"><METANAME="REFRESH"CONTENTURL>自动更新文件内容 </p><p style="text-indent: 2em;font-size:18px;"><MULTIPLE>可同时选择多项的列表栏 </p><p style="text-indent: 2em;font-size:18px;"><NOFRAME>定义不出现分割窗口的文字 </p><p style="text-indent: 2em;font-size:18px;"><OL>...</OL>有序号的列表 </p><p style="text-indent: 2em;font-size:18px;"><OPTION>定义窗体中列表栏的项目 </p><p style="text-indent: 2em;font-size:18px;"><PALIGN>设定对齐方向 </p><p style="text-indent: 2em;font-size:18px;"><P>分段 </p><p style="text-indent: 2em;font-size:18px;"><PERSON>...</PERSON>显示人名 </p><p style="text-indent: 2em;font-size:18px;"><PRE>使用原有排列 </p><p style="text-indent: 2em;font-size:18px;"><SAMP>...</SAMP>用于引用字 </p><p style="text-indent: 2em;font-size:18px;"><SELECT>...</SELECT>在窗体中定义列表栏 </p><p style="text-indent: 2em;font-size:18px;"><SMALL>显示小字体 </p><p style="text-indent: 2em;font-size:18px;"><STRIKE>文字加横线 </p><p style="text-indent: 2em;font-size:18px;"><STRONG>用于加强语气 </p><p style="text-indent: 2em;font-size:18px;"><SUB>下标字 </p><p style="text-indent: 2em;font-size:18px;"><SUP>上标字 </p><p style="text-indent: 2em;font-size:18px;"><TABLEBORDER=n>调整表格的宽线高度 </p><p style="text-indent: 2em;font-size:18px;"><TABLECELLPADDING>调整数据域位之边界 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;"><TABLECELLSPACING>调整表格线的宽度 </p><p style="text-indent: 2em;font-size:18px;"><TABLEHEIGHT>调整表格的高度 </p><p style="text-indent: 2em;font-size:18px;"><TABLEWIDTH>调整表格的宽度 </p><p style="text-indent: 2em;font-size:18px;"><TABLE>...</TABLE>产生表格的卷标 </p><p style="text-indent: 2em;font-size:18px;"><TDALIGN>调整表格字段之左右对齐 </p><p style="text-indent: 2em;font-size:18px;"><TDBGCOLOR>设定表格字段之背景颜色 </p><p style="text-indent: 2em;font-size:18px;"><TDCOLSPANROWSPAN>表格字段的合并 </p><p style="text-indent: 2em;font-size:18px;"><TDNOWRAP>设定表格字段不换行 </p><p style="text-indent: 2em;font-size:18px;"><TDVALIGN>调整表格字段之上下对齐 </p><p style="text-indent: 2em;font-size:18px;"><TDWIDTH>调整表格字段宽度 </p><p style="text-indent: 2em;font-size:18px;"><TD>...</TD>定义表格的数据域位 </p><p style="text-indent: 2em;font-size:18px;"><TEXTAREANAMEROWSCOLS>窗体中加入多少列的文字输入栏 </p><p style="text-indent: 2em;font-size:18px;"><TEXTAREAWRAP>决定文字输入栏是自动否换行 </p><p style="text-indent: 2em;font-size:18px;"><TH>...</TH>定义表格的标头字段 </p><p style="text-indent: 2em;font-size:18px;"><TITLE>文件标题 </p><p style="text-indent: 2em;font-size:18px;"><TR>...</TR>定义表格美一行 </p><p style="text-indent: 2em;font-size:18px;"><TT>打字机字体 </p><p style="text-indent: 2em;font-size:18px;"><U>文字加底线 </p><p style="text-indent: 2em;font-size:18px;"><ULTYPE>...</UL>无序号的列表(可指定符号) </p><p style="text-indent: 2em;font-size:18px;"><VAR>...</VAR>用于显示变量</p><p style="text-indent: 2em;font-size:18px;"> </p><p style="text-indent: 2em;font-size:18px;">Dreamweaver代码 </p><p style="text-indent: 2em;font-size:18px;">html文档示例: </p><p style="text-indent: 2em;font-size:18px;"><html> </p><p style="text-indent: 2em;font-size:18px;"><head> </p><p style="text-indent: 2em;font-size:18px;"><title>标题<title> </p><p style="text-indent: 2em;font-size:18px;"></head> </p><p style="text-indent: 2em;font-size:18px;"><body>……….文件内容………. </p><p style="text-indent: 2em;font-size:18px;"></body> </p><p style="text-indent: 2em;font-size:18px;"></html> </p><p style="text-indent: 2em;font-size:18px;">html标签范例: </p><p style="text-indent: 2em;font-size:18px;"><头标签>内容<尾标签> </p><p style="text-indent: 2em;font-size:18px;">1.文件标题 </p><p style="text-indent: 2em;font-size:18px;"><title>……….</title> </p><p style="text-indent: 2em;font-size:18px;">2.文件更新–<meta> </p><p style="text-indent: 2em;font-size:18px;">【1】10秒后自动更新一次 </p><p style="text-indent: 2em;font-size:18px;"><metahttp-equiv=”refresh”content=10> </p><p style="text-indent: 2em;font-size:18px;">【2】10秒后自动连结到另一文件 </p><p style="text-indent: 2em;font-size:18px;"><metahttp-equiv=”refresh”content=10> </p><p style="text-indent: 2em;font-size:18px;">3.查询用表单 </p><p style="text-indent: 2em;font-size:18px;">–<isindex> </p><p style="text-indent: 2em;font-size:18px;">若欲设定查询栏位前的提示文字: </p><p style="text-indent: 2em;font-size:18px;"><isindexprompt=”提示文字”> </p><p style="text-indent: 2em;font-size:18px;">4.预设的基准路径–<base> </p><p style="text-indent: 2em;font-size:18px;"><basehref=”放置文件的主机之URL”> </p><p style="text-indent: 2em;font-size:18px;">版面 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">1.标题文字<h#>……….</h#>#=1~6;h1为最大字,h6为最小字 </p><p style="text-indent: 2em;font-size:18px;">2.字体变化<font>……….</font> </p><p style="text-indent: 2em;font-size:18px;">【1】字体大小<fontsize=#>……….</font>#=1~7;数字愈大字也愈大 </p><p style="text-indent: 2em;font-size:18px;">【2】指定字型<fontface=”字型名称”>……….</font> </p><p style="text-indent: 2em;font-size:18px;">【3】文字颜色<fontcolor=#rrggbb>……….</font>rr:表红色(red)色码gg:</p><p style="text-indent: 2em;font-size:18px;">表绿色(green)色码bb:表蓝色(blue)色码 </p><p style="text-indent: 2em;font-size:18px;">3.显示小字体<small>……….</small> </p><p style="text-indent: 2em;font-size:18px;">4.显示大字体<big>……….</big> </p><p style="text-indent: 2em;font-size:18px;">5.粗体字<b>……….</b> </p><p style="text-indent: 2em;font-size:18px;">6.斜体字<i>……….</i> </p><p style="text-indent: 2em;font-size:18px;">7.打字机字体<tt>……….</tt> </p><p style="text-indent: 2em;font-size:18px;">8.底线<u>……….</u> </p><p style="text-indent: 2em;font-size:18px;">9.删除线<strike>……….</strike> </p><p style="text-indent: 2em;font-size:18px;">10.下标字<sub>……….</sub> </p><p style="text-indent: 2em;font-size:18px;">11.上标字<sup>……….</sup> </p><p style="text-indent: 2em;font-size:18px;">12.文字闪烁效果<blink>……….</blink> </p><p style="text-indent: 2em;font-size:18px;">13.换行<br> </p><p style="text-indent: 2em;font-size:18px;">14.分段<p> </p><p style="text-indent: 2em;font-size:18px;">15.文字的对齐方向 </p><p style="text-indent: 2em;font-size:18px;"><palign=”#”>#号可为left:表向左对齐(预设值) </p><p style="text-indent: 2em;font-size:18px;">center:表向中对齐right:表向右对齐P.S.<palign=”#”>之后的文字都会以所设的</p><p style="text-indent: 2em;font-size:18px;">对齐方式显示,直到出现另一个<palign=”#”>改变其对齐方向,或遇到<hr>ⅱ<h#></p><p style="text-indent: 2em;font-size:18px;">标签时会自动设回预设的向左对齐。 </p><p style="text-indent: 2em;font-size:18px;">16.分隔线<hr> </p><p style="text-indent: 2em;font-size:18px;">【1】分隔线的粗细<hrsize=点数> </p><p style="text-indent: 2em;font-size:18px;">【2】分隔线的宽度<hrsize=点数或百分比> </p><p style="text-indent: 2em;font-size:18px;">【3】分隔线对齐方向<hralign=”#”>#号可为left:表向左对齐(预设值)center:</p><p style="text-indent: 2em;font-size:18px;">表向中对齐right:表向右对齐 </p><p style="text-indent: 2em;font-size:18px;">【4】分隔线的颜色<hrcolor=#rrggbb> </p><p style="text-indent: 2em;font-size:18px;">【5】实心分隔线<hrnoshade> </p><p style="text-indent: 2em;font-size:18px;">17.向中对齐<center>……….</center> </p><p style="text-indent: 2em;font-size:18px;">18.依原始样式显示<pre>……….</pre> </p><p style="text-indent: 2em;font-size:18px;">19.<body>指令的属性 </p><p style="text-indent: 2em;font-size:18px;">【1】背景颜色—bgcolor<bodybgcolor=#rrggbb> </p><p style="text-indent: 2em;font-size:18px;">【2】背景图案—background<bodybackground=”图形文件名”> </p><p style="text-indent: 2em;font-size:18px;">【3】设定背景图案不会卷动—bgproperties<bodybgproperties=fixed> </p><p style="text-indent: 2em;font-size:18px;">【4】文件内容文字的颜色—text<bodytext=#rrggbb> </p><p style="text-indent: 2em;font-size:18px;">【5】超连结文字颜色—link<bodylink=#rrggbb> </p><p style="text-indent: 2em;font-size:18px;">【6】正被选取的超连结文字颜色—vlink<bodyvlink=#rrggbb> </p><p style="text-indent: 2em;font-size:18px;">【7】已连结过的超连结文字颜色—alink<bodyalink=#rrggbb> </p><p style="text-indent: 2em;font-size:18px;">20.注解<!–……….–> </p><p style="text-indent: 2em;font-size:18px;">21.特殊字元表示法 </p><p style="text-indent: 2em;font-size:18px;">符号语法 </p><p style="text-indent: 2em;font-size:18px;"><&lt </p><p style="text-indent: 2em;font-size:18px;">>&gt </p><p style="text-indent: 2em;font-size:18px;">&&amp </p><p style="text-indent: 2em;font-size:18px;">”&quot </p><p style="text-indent: 2em;font-size:18px;">空白&nbsp </p><p style="text-indent: 2em;font-size:18px;">图片 </p><p style="text-indent: 2em;font-size:18px;">1.插入图片<imgsrc=”图形文件名”> </p><p style="text-indent: 2em;font-size:18px;">2.设定图框—border<imgsrc=”图形文件名”border=点数> </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">3.设定图形大小—widthⅱheight<imgsrc=”图形文件名”width=宽度点数height=高</p><p style="text-indent: 2em;font-size:18px;">度点数> </p><p style="text-indent: 2em;font-size:18px;">4.设定图形上下左右留空—vspaceⅱhspace<imgsrc=”图形文件名”vspace=上下留空</p><p style="text-indent: 2em;font-size:18px;">点数hspace=左右留空点数> </p><p style="text-indent: 2em;font-size:18px;">5.图形附注<imgsrc=”图形文件名”alt=”说明文字”> </p><p style="text-indent: 2em;font-size:18px;">6.预载图片 </p><p style="text-indent: 2em;font-size:18px;"><imgsrc=”高解析度图形文件名”lowsrc=”低解析度图形文件名”>P.S.两个图的图形大</p><p style="text-indent: 2em;font-size:18px;">小最好一致 </p><p style="text-indent: 2em;font-size:18px;">7.图象热点(ImageMap) </p><p style="text-indent: 2em;font-size:18px;"><imgsrc=”图形文件名”usemap=”#图的名称”> </p><p style="text-indent: 2em;font-size:18px;"><mapname=”图的名称”> </p><p style="text-indent: 2em;font-size:18px;"><areashape=形状coords=区域座标列表href=”连结点之URL”> </p><p style="text-indent: 2em;font-size:18px;"><areashape=形状coords=区域座标列表href=”连结点之URL”> </p><p style="text-indent: 2em;font-size:18px;"><areashape=形状coords=区域座标列表href=”连结点之URL”> </p><p style="text-indent: 2em;font-size:18px;"><areashape=形状coords=区域座标列表href=”连结点之URL”> </p><p style="text-indent: 2em;font-size:18px;"></map> </p><p style="text-indent: 2em;font-size:18px;">【1】定义形状—shape </p><p style="text-indent: 2em;font-size:18px;">shape=rect:矩形shape=circle:圆形shape=poly:多边形 </p><p style="text-indent: 2em;font-size:18px;">【2】定义区域—coords </p><p style="text-indent: 2em;font-size:18px;">a.矩形:必须使用四个数字,前两个数字为左上角座标,后两个数字为右下角座标 </p><p style="text-indent: 2em;font-size:18px;">例:<areashape=rectcoords=100,50,200,75href=”URL”> </p><p style="text-indent: 2em;font-size:18px;">b.圆形:必须使用三个数字,前两个数字为圆心的座标,最后一个数字为半径长度 </p><p style="text-indent: 2em;font-size:18px;">例:<areashape=circlecoords=85,155,30href=”URL”> </p><p style="text-indent: 2em;font-size:18px;">c.任意图形(多边形):将图形之每一转折点座标依序填入 </p><p style="text-indent: 2em;font-size:18px;">例:<areashape=polycoords=232,70,285,70,300,90,250,90,200,78href=”URL”</p><p style="text-indent: 2em;font-size:18px;">> </p><p style="text-indent: 2em;font-size:18px;">表格 </p><p style="text-indent: 2em;font-size:18px;">1.定义表格<table>……….</table> </p><p style="text-indent: 2em;font-size:18px;">【1】设定边框的厚度—border </p><p style="text-indent: 2em;font-size:18px;"><tableborder=点数> </p><p style="text-indent: 2em;font-size:18px;">【2】设定格线的宽度—cellspacing </p><p style="text-indent: 2em;font-size:18px;"><tablecellspacing=点数> </p><p style="text-indent: 2em;font-size:18px;">【3】设定资料与格线的距离—cellpadding </p><p style="text-indent: 2em;font-size:18px;"><tablecellpadding=点数> </p><p style="text-indent: 2em;font-size:18px;">【4】调整表格宽度—width </p><p style="text-indent: 2em;font-size:18px;"><tablewidth=点数或百分比> </p><p style="text-indent: 2em;font-size:18px;">【5】调整表格高度—height </p><p style="text-indent: 2em;font-size:18px;"><tableheight=点数或百分比> </p><p style="text-indent: 2em;font-size:18px;">【6】设定表格背景色彩—bgcolor </p><p style="text-indent: 2em;font-size:18px;"><tablebgcolor=#rrggbb> </p><p style="text-indent: 2em;font-size:18px;">【7】设定表格边框色彩—bordercolor </p><p style="text-indent: 2em;font-size:18px;"><tablebordercolor=#rrggbb> </p><p style="text-indent: 2em;font-size:18px;">2.显示格线<tableborder> </p><p style="text-indent: 2em;font-size:18px;">3.表格标题 </p><p style="text-indent: 2em;font-size:18px;"><caption>……….</caption> </p><p style="text-indent: 2em;font-size:18px;">表格标题位置—align </p><p style="text-indent: 2em;font-size:18px;"><captionalign=”#”>#号可为top:表标题置于表格上方(预设值) </p><p style="text-indent: 2em;font-size:18px;">bottom:表标题置于表格下方 </p><p style="text-indent: 2em;font-size:18px;">4.定义列<tr> </p><p style="text-indent: 2em;font-size:18px;">5.定义栏位《1》<td>:靠左对齐 </p><p style="text-indent: 2em;font-size:18px;">《2》<th>:标题栏 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">【1】水平位置—align<thalign=”#”> </p><p style="text-indent: 2em;font-size:18px;">#号可为left:向左对齐 </p><p style="text-indent: 2em;font-size:18px;">center:向中对齐right:向右对齐 </p><p style="text-indent: 2em;font-size:18px;">【2】垂直位置—align<thalign=”#”>#号可为 </p><p style="text-indent: 2em;font-size:18px;">top:向上对齐middle:向中对齐 </p><p style="text-indent: 2em;font-size:18px;">bottom:向下对齐 </p><p style="text-indent: 2em;font-size:18px;">【3】栏位宽度—width </p><p style="text-indent: 2em;font-size:18px;"><thwidth=点数或百分比> </p><p style="text-indent: 2em;font-size:18px;">【4】栏位垂直合并—rowspan </p><p style="text-indent: 2em;font-size:18px;"><throwspan=欲合并栏位数> </p><p style="text-indent: 2em;font-size:18px;">【5】栏位横向合并—colspan </p><p style="text-indent: 2em;font-size:18px;"><thcolspan=欲合并栏位数> </p><p style="text-indent: 2em;font-size:18px;">清单 </p><p style="text-indent: 2em;font-size:18px;">一、目录式清单 </p><p style="text-indent: 2em;font-size:18px;"><dir><li>项目1<li>项目2<li>项目3</dir>P.S.目录式清单每一个项目不能超</p><p style="text-indent: 2em;font-size:18px;">过20个字元(即10个中文字) </p><p style="text-indent: 2em;font-size:18px;">二、选项式清单<menu><li>项目1<li>项目2<li>项目3</menu> </p><p style="text-indent: 2em;font-size:18px;">三、有序号的清单<ol><li>项目1<li>项目2<li>项目3</ol> </p><p style="text-indent: 2em;font-size:18px;">【1】序号形式—type<oltype=#>或<litype=#>#号可为A:表以大写英文字母Aⅱ</p><p style="text-indent: 2em;font-size:18px;">BⅱCⅱD…做为项目编号a:表以小写英文字母aⅱbⅱcⅱd…做为项目编号I:表以大写罗</p><p style="text-indent: 2em;font-size:18px;">马数字做为项目编号i:表以小写罗马数字做为项目编号1:表以阿拉伯数字做为项目编号</p><p style="text-indent: 2em;font-size:18px;">(预设值) </p><p style="text-indent: 2em;font-size:18px;">【2】起始数字—start<olstart=欲开始计数的序数> </p><p style="text-indent: 2em;font-size:18px;">【3】指定编号—value<livalue=欲指定的序数> </p><p style="text-indent: 2em;font-size:18px;">四、无序号的清单<ul><li>项目1<li>项目2<li>项目3</ul> </p><p style="text-indent: 2em;font-size:18px;">【1】项目符号形式—type<ultype=#>或<litype=#>#号可为disc:实心圆点(预</p><p style="text-indent: 2em;font-size:18px;">设值)circle:空心圆点square:实心方块 </p><p style="text-indent: 2em;font-size:18px;">【2】原始清单—plain<ulplain> </p><p style="text-indent: 2em;font-size:18px;">【3】清单排列方式—warp《1》清单垂直排列<ulwarp=vert>《2》清单水平排列<</p><p style="text-indent: 2em;font-size:18px;">ulwarp=horiz> </p><p style="text-indent: 2em;font-size:18px;">五、定义式清单<dl><dt>项目1<dd>项目1说明<dt>项目2<dd>项目2说明<</p><p style="text-indent: 2em;font-size:18px;">dt>项目3<dd>项目3说明</dl> </p><p style="text-indent: 2em;font-size:18px;">紧密排列—compact<dlcompact>P.S.如此可使<dt>的内容与<dd>的内容在同一</p><p style="text-indent: 2em;font-size:18px;">行,仅以数格空白相隔而不换行,但若<dt>的文字超过一定的长度后,compact的作用</p><p style="text-indent: 2em;font-size:18px;">就消失了! </p><p style="text-indent: 2em;font-size:18px;">表单 </p><p style="text-indent: 2em;font-size:18px;">一、基本架构<formaction=”处理资料用的CGI程式之URL”或”mailto:电子信箱的</p><p style="text-indent: 2em;font-size:18px;">URL”method=”get或post”>……….……….……….</form> </p><p style="text-indent: 2em;font-size:18px;">二、输入文件型表单<formaction=”URL”method=”post”><input><input</p><p style="text-indent: 2em;font-size:18px;">>……….……….</form> </p><p style="text-indent: 2em;font-size:18px;">【1】栏位类型—type<inputtype=#>#号可为text:文字输入password:密码</p><p style="text-indent: 2em;font-size:18px;">checkbox:多选钮radio:单选钮submit:接受按钮reset:重设按钮image:图形</p><p style="text-indent: 2em;font-size:18px;">钮hidden:隐藏栏位 </p><p style="text-indent: 2em;font-size:18px;">【2】栏位名称—name<inputname=”资料栏名”>P.S.若type为submitⅱreset则</p><p style="text-indent: 2em;font-size:18px;">name不必设定 </p><p style="text-indent: 2em;font-size:18px;">【3】文件上的预设值—value<inputvalue=”预设之字串”> </p><p style="text-indent: 2em;font-size:18px;">【4】设定栏位的宽度—size<inputsize=字元数> </p><p style="text-indent: 2em;font-size:18px;">【5】限制最大输入字串的长度—maxlength<inputmaxlength=字元数> </p><p style="text-indent: 2em;font-size:18px;">【6】预设checkbox或radio的初值—checked<inputtype=checkboxchecked></p><p style="text-indent: 2em;font-size:18px;"><inputtype=radiochecked> </p><p style="text-indent: 2em;font-size:18px;">【7】指定图形的URL—src<inputtype=imagesrc=”图档名”> </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">【8】图文对齐—align<inputtype=imagealign=”#”>#号可为top:文字对齐图片</p><p style="text-indent: 2em;font-size:18px;">之顶端middle:文字对齐图片之中间buttom:文字对齐图片之底部 </p><p style="text-indent: 2em;font-size:18px;">三、选择式表单<formaction=”URL”method=”post”><select><option><</p><p style="text-indent: 2em;font-size:18px;">option>……….……….</select></form> </p><p style="text-indent: 2em;font-size:18px;">A、<select>的属性 </p><p style="text-indent: 2em;font-size:18px;">【1】栏位名称—name<selectname=”资料栏位名”> </p><p style="text-indent: 2em;font-size:18px;">【2】设定显示的选项数—size<selectsize=个数> </p><p style="text-indent: 2em;font-size:18px;">【3】多重选项—multiple<selectmultiple> </p><p style="text-indent: 2em;font-size:18px;">B、<option>的属性 </p><p style="text-indent: 2em;font-size:18px;">【1】定义选项的传回值—value<optionvalue=”传回值”> </p><p style="text-indent: 2em;font-size:18px;">【2】预先选取的选项—selected<optionselected> </p><p style="text-indent: 2em;font-size:18px;">四、多列输入文字区表单<formaction=”URL”method=”post”><textarea</p><p style="text-indent: 2em;font-size:18px;">>……….……….</textarea></form> </p><p style="text-indent: 2em;font-size:18px;">【1】文字区的变数名称—name<textareaname=变数名称> </p><p style="text-indent: 2em;font-size:18px;">【2】设定文字输入区宽度—cols<textareacols=字元数> </p><p style="text-indent: 2em;font-size:18px;">【3】设定文字输入区高度—rows<textarearows=列数> </p><p style="text-indent: 2em;font-size:18px;">【4】输入区设定预设字串<textarea>预设文字</textarea> </p><p style="text-indent: 2em;font-size:18px;">【5】自动换行与否—wrap<textareawrap=#>#号可为off:表输入的文字超过栏宽时,</p><p style="text-indent: 2em;font-size:18px;">不会自动换行(预设值)virtual:表输入的文字在超过栏宽时会自动换行 </p><p style="text-indent: 2em;font-size:18px;">链接 </p><p style="text-indent: 2em;font-size:18px;">一、连结至其他文件<ahref=”URL”>说明文字或图片</a> </p><p style="text-indent: 2em;font-size:18px;">二、连结至文件内之某一处(外部连结) </p><p style="text-indent: 2em;font-size:18px;">《1》起点 </p><p style="text-indent: 2em;font-size:18px;"><ahref=”档名#名称”>……….</a> </p><p style="text-indent: 2em;font-size:18px;">《2》终点<aname=”名称”> </p><p style="text-indent: 2em;font-size:18px;">三、frame的超连结 </p><p style="text-indent: 2em;font-size:18px;">【1】开启新的浏览器来显示连结文件—_blank<ahref=”URL”target=_blank> </p><p style="text-indent: 2em;font-size:18px;">【2】显示连结文件於目前的frame—_self<ahref=”URL”target=_self> </p><p style="text-indent: 2em;font-size:18px;">【3】以上一层的分割视窗显示连结文件—_parent<ahref=”URL”target=_parent> </p><p style="text-indent: 2em;font-size:18px;">【4】以全视窗显示连结文件—_top<ahref=”URL”target=_top> </p><p style="text-indent: 2em;font-size:18px;">【5】以特定视窗显示连结文件–<ahref=”URL”target=”特定视窗名称”> </p><p style="text-indent: 2em;font-size:18px;">FRAME </p><p style="text-indent: 2em;font-size:18px;">一、分割视窗指令<frameset>……….</frameset> </p><p style="text-indent: 2em;font-size:18px;">【1】垂直(上下)分割—rows </p><p style="text-indent: 2em;font-size:18px;"><framesetrows=#>#号可为点数:如欲分割为100,200,300三个视窗,则 </p><p style="text-indent: 2em;font-size:18px;"><framesetrows=100,200,300>;亦可以K号代表,如<framesetrows=K,500,K> </p><p style="text-indent: 2em;font-size:18px;">百分比:如<framesetrows=30%,70%>,各项总和最好为100% </p><p style="text-indent: 2em;font-size:18px;">【2】水平(左右)分割—cols<framesetcols=点数或百分比> </p><p style="text-indent: 2em;font-size:18px;">二、指定视窗内容—<frame> </p><p style="text-indent: 2em;font-size:18px;"><framesetcols=30%,70%><frame><frame></frameset> </p><p style="text-indent: 2em;font-size:18px;">【1】指定视窗的文件名称—src<framesrc=HTML档名> </p><p style="text-indent: 2em;font-size:18px;">【2】定义视窗的名称—name </p><p style="text-indent: 2em;font-size:18px;"><framename=视窗名称> </p><p style="text-indent: 2em;font-size:18px;">【3】设定文件与上下边框的距离—marginheight </p><p style="text-indent: 2em;font-size:18px;"><framemarginheight=点数> </p><p style="text-indent: 2em;font-size:18px;">【4】设定文件与左右边框的距离—marginwidth </p><p style="text-indent: 2em;font-size:18px;"><framemarginwidth=点数> </p><p style="text-indent: 2em;font-size:18px;">【5】设定分割视窗卷轴—scrolling </p><p style="text-indent: 2em;font-size:18px;"><framescrolling=#>#号可为yes:固定出现卷轴 </p><p style="text-indent: 2em;font-size:18px;">no:不出现卷轴auto:自动判断文件大小需不需要卷轴(预设值) </p><p style="text-indent: 2em;font-size:18px;">【6】锁住分割视窗的大小—noresize<framenoresize> </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">【MeiWei_81-优质适用文档】 </p><p style="text-indent: 2em;font-size:18px;">Basictags </p><p style="text-indent: 2em;font-size:18px;"><html></html> </p><p style="text-indent: 2em;font-size:18px;">CreatesanHTMLdocument</p><p style="text-indent: 2em;font-size:18px;"> </p><p style="text-indent: 2em;font-size:18px;"><head></head> </p><p style="text-indent: 2em;font-size:18px;">Setsoffthetitleandother </p><p style="text-indent: 2em;font-size:18px;">informationthatisn'tdisplayed </p><p style="text-indent: 2em;font-size:18px;">ontheWebpageitself</p><p style="text-indent: 2em;font-size:18px;"> </p><p style="text-indent: 2em;font-size:18px;">基本标</p><p style="text-indent: 2em;font-size:18px;">签 </p><p style="text-indent: 2em;font-size:18px;">创建一个</p><p style="text-indent: 2em;font-size:18px;">HTML文档</p><p style="text-indent: 2em;font-size:18px;"> </p><p style="text-indent: 2em;font-size:18px;">设置文档</p><p style="text-indent: 2em;font-size:18px;">标题以及</p><p style="text-indent: 2em;font-size:18px;">其他不在</p><p style="text-indent: 2em;font-size:18px;">WEB网页</p><p style="text-indent: 2em;font-size:18px;">上显示的</p><p style="text-indent: 2em;font-size:18px;">信息</p><p style="text-indent: 2em;font-size:18px;"> </p><p style="text-indent: 2em;font-size:18px;">设置文档</p><p style="text-indent: 2em;font-size:18px;">的可见部</p><p style="text-indent: 2em;font-size:18px;">分</p><p style="text-indent: 2em;font-size:18px;"> </p><p style="text-indent: 2em;font-size:18px;"><body></body> </p><p style="text-indent: 2em;font-size:18px;">Setsoffthevisibleportionof </p><p style="text-indent: 2em;font-size:18px;">thedocument</p><p style="text-indent: 2em;font-size:18px;"> </p><p style="text-indent: 2em;font-size:18px;"> </p><p style="text-indent: 2em;font-size:18px;">Headertags </p><p style="text-indent: 2em;font-size:18px;"><title>

Putsthenameofthedocument

inthetitlebar

标题标

将文档的

题目放在

标题栏中

文档整

体属性

Setsthebackgroundcolor,

usingnameorhexvalue

设置背景

颜色,使

用名字或

十六进制

设置文本

文字颜

色,使用

名字或十

六进制值

设置链接

颜色,使

用名字或

十六进制

设置已使

用的链接

的颜色,

使用名字

或十六进

制值

设置正在

被击中的

Bodyattributes

Setsthetextcolor,using

nameorhexvalue

Setsthecoloroflinks,

usingnameorhexvalue

Setsthecoloroffollowed

links,usingnameorhexvalue

Setsthecoloroflinksonclick

【MeiWei_81-优质适用文档】

【MeiWei_81-优质适用文档】

链接的颜

色,使用

名字或十

六进制值

文本标

 

Createspreformattedtext

Createsthelargestheadline

Createsthesmallestheadline

Createsboldtext

Createsitalictext

Createsteletype,or

typewriter-styletext

创建预格

式化文本

创建最大

的标题

创建最小

的标题

创建黑体

创建斜体

创建打字

机风格的

字体

创建一个

引用,通

常是斜体

加重一个

单词(通

常是斜体

加黑体)

加重一个

单词(通

常是斜体

加黑体)

设置字体

大小,从1

到7

设置字体

的颜色,

使用名字

或十六进

制值

Texttags

Createsacitation,usually

italic

Emphasizesaword(withitalic

orbold)

Emphasizesaword(withitalic

orbold)

Setssizeoffont,from1to7

Setsfontcolor,usingnameor

hexvalue

链接

Createsahyperlink

创建一个

超链接

创建一个

Links

Createsamailtolink

【MeiWei_81-优质适用文档】

【MeiWei_81-优质适用文档】

自动发送

电子邮件

的链接

创建一个

位于文档

内部的靶

创建一个

指向位于

文档内部

靶位的链

Createsatargetlocationwithin

adocument

Linkstothattargetlocation

fromelsewhereinthedocument

格式排

Createsanewparagraph

Alignsaparagraphtotheleft,

right,orcenter

Insertsalinebreak

创建一个

新的段落

将段落按

左、中、

右对齐

插入一个

回车换行

从两边缩

进文本

创建一个

定义列表

放在每个

定义术语

词之前

放在每个

定义之前

创建一个

标有数字

的列表

放在每个

数字列表

项之前,

并加上一

个数字

创建一个

标有圆点

的列表

放在每个

圆点列表

项之前,

Formatting

Indentstextfrombothsides

Createsadefinitionlist

Precedeseachdefinitionterm

Precedeseachdefinition

    Createsanumberedlist

  1. Precedeseachlistitem,andadds

    anumber

      Createsabulletedlist

    • Precedeseachlistitem,andadds

      thebullet

      【MeiWei_81-优质适用文档】

      【MeiWei_81-优质适用文档】

      并加上一

      个圆点

      Agenerictagusedtoformatlarge

      blocksofHTML,alsousedfor

      stylesheets

      一个用来

      排版大块

      HTML段落

      的标签,

      也用于格

      式化表

      图形元

      添加一个

      图像

      排列对齐

      一个图

      像:左中

      右或上中

      设置围绕

      一个图像

      的边框的

      大小

      加入一条

      水平线

      设置水平

      线的大小

      (高度)

      设置水平

      线的宽度

      (百分比

      或绝对像

      素点)

      创建一个

      没有阴影

      的水平线

      Graphicalelements

      Addsanimage

      Alignsanimage:left,right,

      center;bottom,top,middle

      Setssizeofborderaroundan

      image


      Insertsahorizontalrule

      Setssize(height)ofrule

      Setswidthofrule,inpercentage

      orabsolutevalue

      Createsarulewithoutashadow

      表格

      Createsatable

      Setsoffeachrowinatable

      创建一个

      表格

      开始表格

      中的每一

      开始一行

      中的每一

      个格子

      Tables

      Setsoffeachcellinarow

      【MeiWei_81-优质适用文档】

      【MeiWei_81-优质适用文档】

      Setsoffthetableheader(a

      normalcellwithbold,centered

      text)

      设置表格

      头:一个

      通常使用

      黑体居中

      文字的格

      Tableattributes

      Setswidthofborderaround

      tablecells

      Setsamountofspacebetweentable

      cells

      表格属

      设置围绕

      表格的边

      框的宽度

      设置表格

      格子之间

      空间的大

      设置表格

      格子边框

      与其内部

      内容之间

      空间的大

      设置表格

      的宽度-

      用绝对像

      素值或文

      档总宽度

      的百分比

      设置表格

      格子的水

      平对齐

      (左中

      右)

      设置表格

      格子的垂

      直对齐

      (上中

      下)

      设置一个

      表格格子

      应跨占的

      列数(缺

      省为1)

      设置一个

      表格格子

      应跨占的

      行数(缺

      省为1)

      禁止表格

      Setsamountofspacebetweena

      cell'sborderanditscontents

      Setswidthoftable-inpixels

      orasapercentageofdocumentwidth

      or

      >

      Setsalignmentforcell(s)(left,

      center,orright)

      or

      =?>

      Setsverticalalignmentforcell(s)

      (top,middle,orbottom)

      Setsnumberofcolumnsacellshould

      span(default=1)

      Setsnumberofrowsacellshould

      span(default=1)

      Preventsthelineswithinacell

      【MeiWei_81-优质适用文档】

      【MeiWei_81-优质适用文档】

      frombeingbrokentofit

      格子内的

      内容自动

      断行回卷

      Frames

      窗框

      放在一个

      窗框文档

      Precedesthe

      taginaframesdocument;canal

      标签之

      前,也可

      sobenestedinotherframesets

      以嵌在其

      他窗框文

      档中

      定义一个

      窗框内的

      行数,可

      以使用绝

      对像素值

      或高度的

      百分比

      lue">

      Definestherowswithinaframeset,

      usingnumberinpixels,orpercentage

      ofwidth

      lue">

      定义一个

      窗框内的

      Definesthecolumnswithinaframeset,usingnumber列数,可

      inpixels,orpercentage 以使用绝

      ofwidth

      对像素值

      或宽度的

      百分比

      定义一个

      窗框内的

      Definesasingleframe-orregion-withinaframeset

      单一窗或

      窗区域

      定义在不

      支持窗框

      的浏览器

      中显示什

      么提示

      Defineswhatwillappearonbrowsers

      thatdon'tsupportframes

      Framesattributes

      SpecifieswhichHTMLdocumentshould

      bedisplayed

      窗框属

      规定窗框

      内显示什

      么HTML文

      命名窗框

      或区域以

      便别的窗

      框可以指

      Namestheframe,orregion,soitmay

      betargetedbyotherframes

      【MeiWei_81-优质适用文档】

      【MeiWei_81-优质适用文档】

      向它

      定义窗框

      左右边缘

      Definestheleftandrightmarginsfortheframe;mus的空白大

      tbeequaltoorgreaterthan1

      小,必须

      大于等于

      1

      定义窗框

      上下边缘

      Definesthetopandbottommarginsfortheframe;mus的空白大

      tbeequaltoorgreaterthan1

      小,必须

      大于等于

      1

      设置窗框

      是否有滚

      动栏,其

      Setswhethertheframehasascrollbar;valuemayequ

      值可以是

      al"yes,""no,"or"auto."Thedefault,asinordinar

      "yes","n

      ydocuments,

      o","auto

      isauto.

      ",缺省时

      一般为

      "auto"

      禁止用户

      调整一个

      窗框的大

      Preventstheuserfromresizingaframe

      Forms

      表单

      对于功能

      性的表

      单,一般

      需要运行

      一个CGI

      小程序,

      HTML仅仅

      是产生表

      单的表面

      样子。

      创建所有

      表单

      Forfunctionalforms,you'Ljustcreat

      estheappearanceofaform.

      Createsallforms

      ME"size=?>

      创建一个

      滚动菜

      单,size

      tsthenumberofmen设置在需

      uitemsvisiblebeforeyouneedtoscroll.

      要滚动前

      可以看到

      的表单项

      数目

      【MeiWei_81-优质适用文档】

      【MeiWei_81-优质适用文档】

      Setsoffeachmenuitem

      设置每个

      表单项的

      内容

      创建一个

      下拉菜单

      设置每个

      菜单项的

      内容

      Createsapulldownmenu

      lect>

      Setsoffeachmenuitem

      s=40rows=8>

      创建一个

      文本框区

      域,列的

      ssetthewidth;rowss

      数目设置

      ettheheight.

      宽度,行

      的数目设

      置高度

      创建一个

      复选框,

      文字在标

      签后面

      创建一个

      单选框,

      文字在标

      签后面

      创建一个

      单行文本

      输入区

      域,size

      设置以字

      符计的宽

      创建一个

      submit

      (提交)

      按钮

      创建一个

      使用图象

      的submit

      (提交)

      按钮

      创建一个

      reset(重

      置)按钮

      me="NAME">

      llowstag.

      "NAME"value="x">

      llows

      tag

      o"size=20>

      setslength,incharacters.

      e="NAME">

      CreatesaSubmitbutton

      r=0name="NAME"src="name

      CreatesaSubmitbuttonusinganimage

      .gif">

      CreatesaResetbutton

      首先,把这段代码放在你要放广告的网页位置:载入中…