当前位置:  首页  >  前端开发  >  HTML

html中常用标签的总结汇总-html教程

html标签<<marquee>...<marquee>普通卷动<marqueebehaviorslide>...<marquee>滑动<marqueebehaviorscroll>...<marquee>预设卷动<marqueebehavioralternate>...<marquee>来回卷动<marqueedirectiondown>

目录

  • html标签<

  • 字体效果

  • 区断标记

  • 连结格式

  • 贴图/音乐

  • 表格语法

  • 分割视窗

  • 表单

  • 表示颜色的有三种方式;

  • .....属性可分为三种:

    • align 属性

  • 列表

    • 1无序列表又称符号列表

    • 2有序列表

    • 3定义列表

  • name 连接名称

  • target目标窗口语法格式:

  • 图像 语法格式:

  • font元素

  • 表格语法格式:

    • tr元素

    • td元素

  • input元素 语法格式:

  • select元素

    • option属性

  • 多行文本框

回到顶部

html标签<

...普通卷动

...滑动

...预设卷动

...来回卷动

...向下卷动

...向上卷动

向右卷动

left'>向左卷动

...卷动次数

...设定宽度

...设定高度

...设定背景颜色

...设定滚动速度

...设定卷动时间

...鼠标经过上面时停止滚动

...鼠标离开时开始滚动

回到顶部

字体效果

...

标题字(最大)

...
标题字(最小)

...粗体字

...粗体字(强调) (同上效果略同)

...斜体字

...斜体字(强调)

...斜体字(表示定义)

...底线

...底线(表示插入文字)

...横线

...删除线

...删除线(表示删除)

...键盘文字

... 打字体

...固定宽度字体(在文件中空白、换行、定位功能有效)

...</plaintext><span style="font-family: 宋体;">固定宽度字体</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">不执行标记符号</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><listing>...</listing> <span style="font-family: 宋体;">固定宽度小字体 </span></p><p> </p><p><font color=00ff00>...</font><span style="font-family: 宋体;">字体颜色 </span></p><p> </p><p><font size=1>...</font><span style="font-family: 宋体;">最小字体 </span></p><p> </p><p><font style =’<span style="font-family: &#39;Times New Roman&#39;;">font-size:100 px&#39;</span><span style="font-family: &#39;Times New Roman&#39;;">>...</font></span><span style="font-family: 宋体;">无限增大 </span></p><p> </p><p> </p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong>区断标记 </strong></h2><p> </p><p><hr><span style="font-family: 宋体;">水平线 </span></p><p> </p><p><hr size=&#39;<span style="font-family: &#39;Times New Roman&#39;;">9&#39;</span><span style="font-family: &#39;Times New Roman&#39;;">></span><span style="font-family: 宋体;">水平线</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">设定大小</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><hr width=&#39;<span style="font-family: &#39;Times New Roman&#39;;">80%&#39;</span><span style="font-family: &#39;Times New Roman&#39;;">></span><span style="font-family: 宋体;">水平线</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">设定宽度</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><hr color=&#39;<span style="font-family: &#39;Times New Roman&#39;;">ff0000&#39;</span><span style="font-family: &#39;Times New Roman&#39;;">></span><span style="font-family: 宋体;">水平线</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">设定颜色</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><br>(<span style="font-family: 宋体;">换行</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><nobr>...</nobr><span style="font-family: 宋体;">水域</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">不换行</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><p>...</p><span style="font-family: 宋体;">水域</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">段落</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><center>...</center><span style="font-family: 宋体;">置中 </span></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong><!><span style="font-family: 宋体;">连结格式 </span></strong></h2><p> </p><p><base href=<span style="font-family: 宋体;">位址</span><span style="font-family: &#39;Times New Roman&#39;;">>(</span><span style="font-family: 宋体;">预设好连结路径</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><a href=<span style="font-family: 宋体;">位址</span><span style="font-family: &#39;Times New Roman&#39;;">></a></span><span style="font-family: 宋体;">外部连结 </span></p><p> </p><p><a href=<span style="font-family: 宋体;">位址 </span><span style="font-family: &#39;Times New Roman&#39;;">target=&#39;</span><span style="font-family: &#39;Times New Roman&#39;;">_blank&#39;</span><span style="font-family: &#39;Times New Roman&#39;;">></a></span><span style="font-family: 宋体;">外部连结</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">另开新视窗</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><a href=<span style="font-family: 宋体;">位址 </span><span style="font-family: &#39;Times New Roman&#39;;">target=&#39;</span><span style="font-family: &#39;Times New Roman&#39;;">_top&#39;</span><span style="font-family: &#39;Times New Roman&#39;;">></a></span><span style="font-family: 宋体;">外部连结</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">全视窗连结</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><a href=<span style="font-family: 宋体;">位址 </span><span style="font-family: &#39;Times New Roman&#39;;">target=&#39;</span><span style="font-family: 宋体;">页框名&#39;</span><span style="font-family: &#39;Times New Roman&#39;;">></a></span><span style="font-family: 宋体;">外部连结</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">在指定页框连结</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong><!><span style="font-family: 宋体;">贴图</span><span style="font-family: &#39;Times New Roman&#39;;">/</span><span style="font-family: 宋体;">音乐 </span></strong></h2><p> </p><p><img src=<span style="font-family: 宋体;">图片位址</span><span style="font-family: &#39;Times New Roman&#39;;">></span><span style="font-family: 宋体;">贴图 </span></p><p> </p><p><img src=<span style="font-family: 宋体;">图片位址 </span><span style="font-family: &#39;Times New Roman&#39;;">width="</span><span style="font-family: &#39;Times New Roman&#39;;">180"</span><span style="font-family: &#39;Times New Roman&#39;;">></span><span style="font-family: 宋体;">设定图片宽度 </span></p><p> </p><p><img src=<span style="font-family: 宋体;">图片位址 </span><span style="font-family: &#39;Times New Roman&#39;;">height="</span><span style="font-family: &#39;Times New Roman&#39;;">30"</span><span style="font-family: &#39;Times New Roman&#39;;">></span><span style="font-family: 宋体;">设定图片高度 </span></p><p> </p><p><img src=<span style="font-family: 宋体;">图片位址 </span><span style="font-family: &#39;Times New Roman&#39;;">alt="</span><span style="font-family: 宋体;">提示文字"</span><span style="font-family: &#39;Times New Roman&#39;;">></span><span style="font-family: 宋体;">设定图片提示文字 </span></p><p> </p><p><img src=<span style="font-family: 宋体;">图片位址 </span><span style="font-family: &#39;Times New Roman&#39;;">border="</span><span style="font-family: &#39;Times New Roman&#39;;">1"</span><span style="font-family: &#39;Times New Roman&#39;;">></span><span style="font-family: 宋体;">设定图片边框 </span></p><p> </p><p><bgsound src=MID<span style="font-family: 宋体;">音乐档位址</span><span style="font-family: &#39;Times New Roman&#39;;">></span><span style="font-family: 宋体;">背景音乐设定 </span></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong><!><span style="font-family: 宋体;">表格语法 </span></strong></h2><p> </p><p><table aling=left>...</table><span style="font-family: 宋体;">表格位置</span><span style="font-family: &#39;Times New Roman&#39;;">,</span><span style="font-family: 宋体;">置左 </span></p><p> </p><p><table aling=center>...</table><span style="font-family: 宋体;">表格位置</span><span style="font-family: &#39;Times New Roman&#39;;">,</span><span style="font-family: 宋体;">置中 </span></p><p> </p><p><table background=<span style="font-family: 宋体;">图片路径</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table></span><span style="font-family: 宋体;">背景图片的</span><span style="font-family: &#39;Times New Roman&#39;;">URL=</span><span style="font-family: 宋体;">就是路径网址 </span></p><p> </p><p><table border=<span style="font-family: 宋体;">边框大小</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table></span><span style="font-family: 宋体;">设定表格边框大小</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">使用数字</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><table bgcolor=<span style="font-family: 宋体;">颜色码</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table></span><span style="font-family: 宋体;">设定表格的背景颜色 </span></p><p> </p><p><table borderclor=<span style="font-family: 宋体;">颜色码</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table></span><span style="font-family: 宋体;">设定表格边框的颜色 </span></p><p> </p><p><table borderclordark=<span style="font-family: 宋体;">颜色码</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table></span><span style="font-family: 宋体;">设定表格暗边框的颜色 </span></p><p> </p><p><table borderclorlight=<span style="font-family: 宋体;">颜色码</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table></span><span style="font-family: 宋体;">设定表格亮边框的颜色 </span></p><p> </p><p><table cellpadding=<span style="font-family: 宋体;">参数</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table></span><span style="font-family: 宋体;">指定内容与格线之间的间距</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">使用数字</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><table cellspacing=<span style="font-family: 宋体;">参数</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table></span><span style="font-family: 宋体;">指定格线与格线之间的距离</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">使用数字</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><table cols=<span style="font-family: 宋体;">参数</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table></span><span style="font-family: 宋体;">指定表格的栏数 </span></p><p> </p><p><table frame=<span style="font-family: 宋体;">参数</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table></span><span style="font-family: 宋体;">设定表格外框线的显示方式 </span></p><p> </p><p><table width=<span style="font-family: 宋体;">宽度</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table></span><span style="font-family: 宋体;">指定表格的宽度大小</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">使用数字</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><table height=<span style="font-family: 宋体;">高度</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table></span><span style="font-family: 宋体;">指定表格的高度大小</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">使用数字</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><td colspan=<span style="font-family: 宋体;">参数</span><span style="font-family: &#39;Times New Roman&#39;;">>...</td></span><span style="font-family: 宋体;">指定储存格合并栏的栏数</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">使用数字</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><td rowspan=<span style="font-family: 宋体;">参数</span><span style="font-family: &#39;Times New Roman&#39;;">>...</td></span><span style="font-family: 宋体;">指定储存格合并列的列数</span><span style="font-family: &#39;Times New Roman&#39;;">(</span><span style="font-family: 宋体;">使用数字</span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong>分割视窗 </strong></h2><p> </p><p><frameset cols="20%,*"><span style="font-family: 宋体;">左右分割</span><span style="font-family: &#39;Times New Roman&#39;;">,</span><span style="font-family: 宋体;">将左边框架分割大小为</span><span style="font-family: &#39;Times New Roman&#39;;">20%</span><span style="font-family: 宋体;">右边框架的大小浏览器会自动调整 </span></p><p> </p><p><frameset rows="20%,*"><span style="font-family: 宋体;">上下分割</span><span style="font-family: &#39;Times New Roman&#39;;">,</span><span style="font-family: 宋体;">将上面框架分割大小为</span><span style="font-family: &#39;Times New Roman&#39;;">20%</span><span style="font-family: 宋体;">下面框架的大小浏览器会自动调整 </span></p><p> </p><p><frameset cols="20%,*"><span style="font-family: 宋体;">分割左右两个框架 </span></p><p> </p><p><frameset cols="20%,*,20%"><span style="font-family: 宋体;">分割左中右三个框架 </span></p><p> </p><p><<span style="font-family: 宋体;">分割上下两个框架 </span></p><p> </p><p><frameset rows="20%,*,20%"><span style="font-family: 宋体;">分割上中下三个框架 </span></p><p> </p><p>属性:</p><p> </p><p><strong>cols</strong> 垂直切割窗口(如左右分割两个窗口)接受整数值,百分数,<span style="font-family: &#39;Times New Roman&#39;;">*</span><span style="font-family: 宋体;">(</span><span style="font-family: &#39;Times New Roman&#39;;">*</span><span style="font-family: 宋体;">代表占用余下空间)数值的个数代表分成的部分数目,要以逗号分隔。例:</span><span style="font-family: &#39;Times New Roman&#39;;">cols="30,*,50%"</span><span style="font-family: 宋体;">可以 切成三个视窗,第一部分是</span><span style="font-family: &#39;Times New Roman&#39;;">30</span><span style="font-family: 宋体;">像素(</span><span style="font-family: &#39;Times New Roman&#39;;">pixels</span><span style="font-family: 宋体;">)为绝对分割,第二部分是当分配完第一和第三视图后剩下的空间,第三部分则占整个窗口的</span><span style="font-family: &#39;Times New Roman&#39;;">50%</span><span style="font-family: 宋体;">宽度,为相对分割。 </span></p><p> </p><p><strong>rows</strong> 就是横向切割,将窗口上下分开,数值设置同上。</p><p> </p><p>以上两属性尽量不要在同一个<span style="font-family: &#39;Times New Roman&#39;;"><frameset></span><span style="font-family: 宋体;">标记中,因为王井(</span><span style="font-family: &#39;Times New Roman&#39;;">netscape</span><span style="font-family: 宋体;">)不支持,尽量采用多重分割。 </span></p><p> </p><p>frameborder <span style="font-family: 宋体;">设置框架的边框,其值有</span><span style="font-family: &#39;Times New Roman&#39;;">0</span><span style="font-family: 宋体;">不要边框,</span><span style="font-family: &#39;Times New Roman&#39;;">1</span><span style="font-family: 宋体;">要边框。 </span></p><p> </p><p>border <span style="font-family: 宋体;">设置框架边框厚度 </span></p><p> </p><p>framespacing <span style="font-family: 宋体;">表示框架与框架间保留空白的距离 </span></p><p> </p><p>frame <span style="font-family: 宋体;">元素(单标签) </span></p><p> </p><p>语法格式:</p><p> </p><p><frame name="" src="url" scrolling="yes/no" noresize></p><p> </p><p>属性:</p><p> </p><p>name <span style="font-family: 宋体;">框架名称,指定框架来做连接的目标窗口。 </span></p><p> </p><p>src <span style="font-family: 宋体;">框架中要显示的网页文当</span><span style="font-family: &#39;Times New Roman&#39;;">url</span><span style="font-family: 宋体;">地址,每个个框架要对应一个</span><span style="font-family: &#39;Times New Roman&#39;;">html</span><span style="font-family: 宋体;">文挡。 </span></p><p> </p><p>scrolling <span style="font-family: 宋体;">是否显示滚动条,</span><span style="font-family: &#39;Times New Roman&#39;;">yes/no,auto</span><span style="font-family: 宋体;">是自动。 </span></p><p> </p><p>noresize <span style="font-family: 宋体;">设置不让使用者改变这个框架的大小, </span></p><p> </p><p><strong>noframe<span style="font-family: 宋体;">元素 </span></strong></p><p> </p><p>指定当使用了框架的页面在不支持框架的浏览器中打开时显示的信息</p><p> </p><p>语法格式:</p><p> </p><p><noframe></p><p> </p><p>......</p><p> </p><p></noframe></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong>表单<span style="font-family: &#39;Times New Roman&#39;;"><form></form> </span></strong></h2><p> </p><p>语法格式:</p><p> </p><p><form action="url" method="get/post"></p><p> </p><p>....</p><p> </p><p><input type=submit><input type=reset></p><p> </p><p></form></p><p> </p><p>method<span style="font-family: 宋体;">有两种提交方式</span><span style="font-family: &#39;Times New Roman&#39;;">get,post </span></p><p> </p><p>action <span style="font-family: 宋体;">是指明处理该表单的程序位置,这样表单所填的资料才能传给</span><span style="font-family: &#39;Times New Roman&#39;;">cgi</span><span style="font-family: 宋体;">做处里,可设定此参数为</span><span style="font-family: &#39;Times New Roman&#39;;">action="mailto:lwr8494@163.com" </span><span style="font-family: 宋体;">这样此表单所填的资料将会发送到这个邮箱地址。 </span></p><p> </p><p>method <span style="font-family: 宋体;">是指传送信息给</span><span style="font-family: &#39;Times New Roman&#39;;">cgi</span><span style="font-family: 宋体;">等网络程序的方式。可选</span><span style="font-family: &#39;Times New Roman&#39;;">post</span><span style="font-family: 宋体;">方法, </span><span style="font-family: &#39;Times New Roman&#39;;">get</span><span style="font-family: 宋体;">方法,</span><span style="font-family: &#39;Times New Roman&#39;;">post</span><span style="font-family: 宋体;">方法容许传送大量信息。</span><span style="font-family: &#39;Times New Roman&#39;;">get</span><span style="font-family: 宋体;">方法只接受低于</span><span style="font-family: &#39;Times New Roman&#39;;">1k</span><span style="font-family: 宋体;">的信息。 </span></p><p> </p><p>申请表单用的是<span style="font-family: &#39;Times New Roman&#39;;">post</span><span style="font-family: 宋体;">搜索引擎用的是</span><span style="font-family: &#39;Times New Roman&#39;;">get </span></p><p> </p><p> </p><p> </p><p><strong><! - - ... - -> <span style="font-family: 宋体;">注解 </span></strong></p><p> </p><p><A HREF TARGET> <span style="font-family: 宋体;">指定超连结的分割视窗 </span></p><p> </p><p><A HREF=#<span style="font-family: 宋体;">锚的名称</span><span style="font-family: &#39;Times New Roman&#39;;">> </span><span style="font-family: 宋体;">指定锚名称的超连结 </span></p><p> </p><p><A HREF> <span style="font-family: 宋体;">指定超连结 </span></p><p> </p><p><A NAME=<span style="font-family: 宋体;">锚的名称</span><span style="font-family: &#39;Times New Roman&#39;;">> </span><span style="font-family: 宋体;">被连结点的名称 </span></p><p> </p><p><ADDRESS>....</ADDRESS> <span style="font-family: 宋体;">用来显示电子邮箱地址 </span></p><p> </p><p><B> <span style="font-family: 宋体;">粗体字 </span></p><p> </p><p><BASE TARGET> <span style="font-family: 宋体;">指定超连结的分割视窗 </span></p><p> </p><p><BASEFONT SIZE> <span style="font-family: 宋体;">更改预设字形大小 </span></p><p> </p><p><BGSOUND SRC> <span style="font-family: 宋体;">加入背景音乐 </span></p><p> </p><p><BIG> <span style="font-family: 宋体;">显示大字体 </span></p><p> </p><p><BLINK> <span style="font-family: 宋体;">闪烁的文字 </span></p><p> </p><p><BODY TEXT LINK VLINK> <span style="font-family: 宋体;">设定文字颜色 </span></p><p> </p><p><BODY> <span style="font-family: 宋体;">显示本文 </span></p><p> </p><p><BR> <span style="font-family: 宋体;">换行 </span></p><p> </p><p><CAPTION ALIGN> <span style="font-family: 宋体;">设定表格标题位置 </span></p><p> </p><p><CAPTION>...</CAPTION> <span style="font-family: 宋体;">为表格加上标题 </span></p><p> </p><p><CENTER> <span style="font-family: 宋体;">向中对齐 </span></p><p> </p><p><CITE>...<CITE> <span style="font-family: 宋体;">用於引经据典的文字 </span></p><p> </p><p><CODE>...</CODE> <span style="font-family: 宋体;">用於列出一段程式码 </span></p><p> </p><p><COMMENT>...</COMMENT> <span style="font-family: 宋体;">加上注解 </span></p><p> </p><p><DD> <span style="font-family: 宋体;">设定定义列表的项目解说 </span></p><p> </p><p><DFN>...</DFN> <span style="font-family: 宋体;">显示</span><span style="font-family: &#39;Times New Roman&#39;;">"</span><span style="font-family: 宋体;">定义</span><span style="font-family: &#39;Times New Roman&#39;;">"</span><span style="font-family: 宋体;">文字 </span></p><p> </p><p><DIR>...</DIR> <span style="font-family: 宋体;">列表文字标签 </span></p><p> </p><p><DL>...</DL> <span style="font-family: 宋体;">设定定义列表的标签 </span></p><p> </p><p><DT> <span style="font-family: 宋体;">设定定义列表的项目 </span></p><p> </p><p><EM> <span style="font-family: 宋体;">强调之用 </span></p><p> </p><p><FONT FACE> <span style="font-family: 宋体;">任意指定所用的字形 </span></p><p> </p><p><FONT SIZE> <span style="font-family: 宋体;">设定字体大小 </span></p><p> </p><p><FORM ACTION> <span style="font-family: 宋体;">设定户动式表单的处理方式 </span></p><p> </p><p><FORM METHOD> <span style="font-family: 宋体;">设定户动式表单之资料传送方式 </span></p><p> </p><p><FRame MARGINHEIGHT> <span style="font-family: 宋体;">设定视窗的上下边界 </span></p><p> </p><p><FRame MARGINWIDTH> <span style="font-family: 宋体;">设定视窗的左右边界 </span></p><p> </p><p><FRame NAME> <span style="font-family: 宋体;">为分割视窗命名 </span></p><p> </p><p><FRame NORESIZE> <span style="font-family: 宋体;">锁住分割视窗的大小 </span></p><p> </p><p><FRame SCROLLING> <span style="font-family: 宋体;">设定分割视窗的卷轴 </span></p><p> </p><p><FRame SRC> <span style="font-family: 宋体;">将</span><span style="font-family: &#39;Times New Roman&#39;;">HTML</span><span style="font-family: 宋体;">档加入视窗 </span></p><p> </p><p><FRameSET COLS> <span style="font-family: 宋体;">将视窗分割成左右的子视窗 </span></p><p> </p><p><FRameSET ROWS> <span style="font-family: 宋体;">将视窗分割成上下的子视窗 </span></p><p> </p><p><FRameSET>...</FRameSET> <span style="font-family: 宋体;">划分分割视窗 </span></p><p> </p><p><H1>~<H6> <span style="font-family: 宋体;">设定文字大小 </span></p><p> </p><p><HEAD> <span style="font-family: 宋体;">标示文件资讯 </span></p><p> </p><p><HR> <span style="font-family: 宋体;">加上分格线 </span></p><p> </p><p><HTML> <span style="font-family: 宋体;">文件的开始与结束 </span></p><p> </p><p><I> <span style="font-family: 宋体;">斜体字 </span></p><p> </p><p><IMG ALIGN> <span style="font-family: 宋体;">调整图形影像的位置 </span></p><p> </p><p><IMG ALT> <span style="font-family: 宋体;">为你的图形影像加注 </span></p><p> </p><p><IMG DYNSRC LOOP> <span style="font-family: 宋体;">加入影片 </span></p><p> </p><p><IMG HEIGHT WIDTH> <span style="font-family: 宋体;">插入图片并预设图形大小 </span></p><p> </p><p><IMG HSPACE> <span style="font-family: 宋体;">插入图片并预设图形的左右边界 </span></p><p> </p><p><IMG LOWSRC> <span style="font-family: 宋体;">预载图片功能 </span></p><p> </p><p><IMG SRC BORDER> <span style="font-family: 宋体;">设定图片边界 </span></p><p> </p><p><IMG SRC> <span style="font-family: 宋体;">插入图片 </span></p><p> </p><p><IMG VSPACE> <span style="font-family: 宋体;">插入图片并预设图形的上下边界 </span></p><p> </p><p><INPUT TYPE NAME value> <span style="font-family: 宋体;">在表单中加入输入栏位 </span></p><p> </p><p><ISINDEX> <span style="font-family: 宋体;">定义查询用表单 </span></p><p> </p><p><KBD>...</KBD> <span style="font-family: 宋体;">表示使用者输入文字 </span></p><p> </p><p><LI TYPE>...</LI> <span style="font-family: 宋体;">列表的项目 </span><span style="font-family: &#39;Times New Roman&#39;;">( </span><span style="font-family: 宋体;">可指定符号 </span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><MARQUEE> <span style="font-family: 宋体;">跑马灯效果 </span></p><p> </p><p><MENU>...</MENU> <span style="font-family: 宋体;">条列文字标签 </span></p><p> </p><p><meta NAME="REFRESH" CONTENT URL> <span style="font-family: 宋体;">自动更新文件内容 </span></p><p> </p><p><MULTIPLE> <span style="font-family: 宋体;">可同时选择多项的列表栏 </span></p><p> </p><p><NOFRame> <span style="font-family: 宋体;">定义不出现分割视窗的文字 </span></p><p> </p><p><OL>...</OL> <span style="font-family: 宋体;">有序号的列表 </span></p><p> </p><p><OPTION> <span style="font-family: 宋体;">定义表单中列表栏的项目 </span></p><p> </p><p><P ALIGN> <span style="font-family: 宋体;">设定对齐方向 </span></p><p> </p><p><P> <span style="font-family: 宋体;">分段 </span></p><p> </p><p><PERSON>...</PERSON> <span style="font-family: 宋体;">显示人名 </span></p><p> </p><p><PRE> <span style="font-family: 宋体;">使用原有排列 </span></p><p> </p><p><SAMP>...</SAMP> <span style="font-family: 宋体;">用於引用字 </span></p><p> </p><p><select >...</select > <span style="font-family: 宋体;">在表单中定义列表栏 </span></p><p> </p><p><SMALL> <span style="font-family: 宋体;">显示小字体 </span></p><p> </p><p><STRIKE> <span style="font-family: 宋体;">文字加横线 </span></p><p> </p><p><STRONG> <span style="font-family: 宋体;">用於加强语气 </span></p><p> </p><p><SUB> <span style="font-family: 宋体;">下标字 </span></p><p> </p><p><SUP> <span style="font-family: 宋体;">上标字 </span></p><p> </p><p><TABLE BORDER=n> <span style="font-family: 宋体;">调整表格的宽线高度 </span></p><p> </p><p><TABLE CELLPADDING> <span style="font-family: 宋体;">调整资料栏位之边界 </span></p><p> </p><p><TABLE CELLSPACING> <span style="font-family: 宋体;">调整表格线的宽度 </span></p><p> </p><p><TABLE HEIGHT> <span style="font-family: 宋体;">调整表格的高度 </span></p><p> </p><p><TABLE WIDTH> <span style="font-family: 宋体;">调整表格的宽度 </span></p><p> </p><p><TABLE>...</TABLE> <span style="font-family: 宋体;">产生表格的标签 </span></p><p> </p><p><TD ALIGN> <span style="font-family: 宋体;">调整表格栏位之左右对齐 </span></p><p> </p><p><TD BGCOLOR> <span style="font-family: 宋体;">设定表格栏位之背景颜色 </span></p><p> </p><p><TD COLSPAN ROWSPAN> <span style="font-family: 宋体;">表格栏位的合并 </span></p><p> </p><p><TD NOWRAP> <span style="font-family: 宋体;">设定表格栏位不换行 </span></p><p> </p><p><TD VALIGN> <span style="font-family: 宋体;">调整表格栏位之上下对齐 </span></p><p> </p><p><TD WIDTH> <span style="font-family: 宋体;">调整表格栏位宽度 </span></p><p> </p><p><TD>...</TD> <span style="font-family: 宋体;">定义表格的资料栏位 </span></p><p> </p><p><TEXTAREA NAME ROWS COLS> <span style="font-family: 宋体;">表单中加入多少列的文字输入栏 </span></p><p> </p><p><TEXTAREA WRAP> <span style="font-family: 宋体;">决定文字输入栏是自动否换行 </span></p><p> </p><p><TH>...</TH> <span style="font-family: 宋体;">定义表格的标头栏位 </span></p><p> </p><p><TITLE> <span style="font-family: 宋体;">文件标题 </span></p><p> </p><p><TR>...</TR> <span style="font-family: 宋体;">定义表格美一行 </span></p><p> </p><p><TT> <span style="font-family: 宋体;">打字机字体 </span></p><p> </p><p><U> <span style="font-family: 宋体;">文字加底线 </span></p><p> </p><p><UL TYPE>...</UL> <span style="font-family: 宋体;">无序号的列表 </span><span style="font-family: &#39;Times New Roman&#39;;">( </span><span style="font-family: 宋体;">可指定符号 </span><span style="font-family: &#39;Times New Roman&#39;;">) </span></p><p> </p><p><var>...</var> <span style="font-family: 宋体;">用於显示变数 </span></p><p> </p><p>BlockQuotc<span style="font-family: 宋体;">文本缩进 </span></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong>表示颜色的有三种方式; </strong></h2><p> </p><p>1<span style="font-family: 宋体;">,</span><span style="font-family: &#39;Times New Roman&#39;;">16</span><span style="font-family: 宋体;">进制颜色代码 </span></p><p> </p><p>语法:<span style="font-family: &#39;Times New Roman&#39;;">#RRGGBB </span></p><p> </p><p>例:<span style="font-family: &#39;Times New Roman&#39;;"><font color="#ff0000"></span><span style="font-family: 宋体;">红色</span><span style="font-family: &#39;Times New Roman&#39;;"></font> </span></p><p> </p><p>2<span style="font-family: 宋体;">,</span><span style="font-family: &#39;Times New Roman&#39;;">10</span><span style="font-family: 宋体;">进制</span><span style="font-family: &#39;Times New Roman&#39;;">RGB</span><span style="font-family: 宋体;">码 </span></p><p> </p><p>语法:<span style="font-family: &#39;Times New Roman&#39;;">RGB</span><span style="font-family: 宋体;">(</span><span style="font-family: &#39;Times New Roman&#39;;">RRR</span><span style="font-family: 宋体;">,</span><span style="font-family: &#39;Times New Roman&#39;;">GGG</span><span style="font-family: 宋体;">,</span><span style="font-family: &#39;Times New Roman&#39;;">BBB</span><span style="font-family: 宋体;">) </span></p><p> </p><p>例:<span style="font-family: &#39;Times New Roman&#39;;"><font color="rgb(255,000,000)"></span><span style="font-family: 宋体;">红色</span><span style="font-family: &#39;Times New Roman&#39;;"></font> </span></p><p> </p><p>3,<span style="font-family: 宋体;">直接用颜色的英文名称 </span></p><p> </p><p>例:<span style="font-family: &#39;Times New Roman&#39;;"><font color="red"></span><span style="font-family: 宋体;">红色</span><span style="font-family: &#39;Times New Roman&#39;;"></font> </span></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong><body>.....</body><span style="font-family: 宋体;">属性可分为三种: </span></strong></h2><p> </p><p>1<span style="font-family: 宋体;">,背景属性 </span></p><p> </p><p>包括:<span style="font-family: &#39;Times New Roman&#39;;">bgcolor,background </span></p><p> </p><p>2,<span style="font-family: 宋体;">文字属性: </span></p><p> </p><p>包括:<span style="font-family: &#39;Times New Roman&#39;;">text,link,alink,vlink, </span></p><p> </p><p>3,<span style="font-family: 宋体;">留白属性: </span></p><p> </p><p>其中分为:<span style="font-family: &#39;Times New Roman&#39;;">leftmargin,topmargin </span></p><p> </p><p>.bgcolor<span style="font-family: 宋体;">背景色 </span></p><p> </p><p>语法格式:<span style="font-family: &#39;Times New Roman&#39;;"><body bgcolor="#ff0000"> </span></p><p> </p><p>.background<span style="font-family: 宋体;">背景图案。 </span></p><p> </p><p>语法格式:<span style="font-family: &#39;Times New Roman&#39;;"><body background="url"> </span></p><p> </p><p>.text<span style="font-family: 宋体;">文本颜色(非连接文字颜色) </span></p><p> </p><p>.link<span style="font-family: 宋体;">连接文字颜色(可连接文字颜色) </span></p><p> </p><p>.alink<span style="font-family: 宋体;">活动连接文字颜色(正被点击的可连接文字的颜色) </span></p><p> </p><p>.vlink<span style="font-family: 宋体;">已访问连接文字颜色)(已经点击访问过的可连接文字的颜色) </span></p><p> </p><p>语法格式:<span style="font-family: &#39;Times New Roman&#39;;"><body text="color" link="color" alink="color" vlink="color"> </span></p><p> </p><p>.leftmargin <span style="font-family: 宋体;">页面左侧的留白距离 </span></p><p> </p><p>.topmargin <span style="font-family: 宋体;">页面顶部的留白距离 </span></p><p> </p><p>语法格式:<span style="font-family: &#39;Times New Roman&#39;;"><body leftmargin="value" topmargin="value"> </span></p><p> </p><p>注:<span style="font-family: &#39;Times New Roman&#39;;">value</span><span style="font-family: 宋体;">为长度值为数字 </span></p><p> </p><p><img class="anchorclass"/></p><h3><strong>align <span style="font-family: 宋体;">属性 </span></strong></h3><p> </p><p>语法:<span style="font-family: &#39;Times New Roman&#39;;"><h2 align="?"></span><span style="font-family: 宋体;">文字</span><span style="font-family: &#39;Times New Roman&#39;;"></h2> </span></p><p> </p><p>其属性有三种:<span style="font-family: &#39;Times New Roman&#39;;">left</span><span style="font-family: 宋体;">靠左</span><span style="font-family: &#39;Times New Roman&#39;;">,center</span><span style="font-family: 宋体;">居中</span><span style="font-family: &#39;Times New Roman&#39;;">,right</span><span style="font-family: 宋体;">靠右 </span></p><p> </p><p>〈<span style="font-family: &#39;Times New Roman&#39;;">p</span><span style="font-family: 宋体;">〉</span><span style="font-family: &#39;Times New Roman&#39;;"></p></span><span style="font-family: 宋体;">为段落标记,可利用以上属性对整个段落进行设置 </span></p><p> </p><p>〈<span style="font-family: &#39;Times New Roman&#39;;">br></span><span style="font-family: 宋体;">为换行标记 </span></p><p> </p><p><nobr></nobr><span style="font-family: 宋体;">为不换行标记 放在文字两边即可 </span></p><p> </p><p>例:<span style="font-family: &#39;Times New Roman&#39;;"><body> </span></p><p> </p><p><h3><span style="font-family: 宋体;">江南逢李龟年</span><span style="font-family: &#39;Times New Roman&#39;;"></h3> </span></p><p> </p><p><p><span style="font-family: 宋体;">歧王宅里寻常见</span><span style="font-family: &#39;Times New Roman&#39;;"><br> </span></p><p> </p><p>催九堂前几度闻<span style="font-family: &#39;Times New Roman&#39;;"><br> </span></p><p> </p><p>正是江南好风景<span style="font-family: &#39;Times New Roman&#39;;"><br> </span></p><p> </p><p>落花时节又逢君<span style="font-family: &#39;Times New Roman&#39;;"></p> </span></p><p> </p><p></body></p><p> </p><p><strong>预格式化: </strong></p><p> </p><p><pre>......</pre> <span style="font-family: 宋体;">浏览是效果和编写是效果格式一样 </span></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong>列表</strong> </h2><p> </p><p><img class="anchorclass"/></p><h3><strong>1<span style="font-family: 宋体;">无序列表又称符号列表 </span></strong></h3><p> </p><p>语法格式:</p><p> </p><p><ul type="">type<span style="font-family: 宋体;">的属性可选直</span><span style="font-family: &#39;Times New Roman&#39;;">disc</span><span style="font-family: 宋体;">实心圆点</span><span style="font-family: &#39;Times New Roman&#39;;">,clrcle</span><span style="font-family: 宋体;">空心圆点</span><span style="font-family: &#39;Times New Roman&#39;;">,square</span><span style="font-family: 宋体;">实心方框 </span></p><p> </p><p><li><span style="font-family: 宋体;">文字</span><span style="font-family: &#39;Times New Roman&#39;;"></li> </span></p><p> </p><p><li><span style="font-family: 宋体;">文字</span><span style="font-family: &#39;Times New Roman&#39;;"></li> </span></p><p> </p><p></ul></p><p> </p><p><img class="anchorclass"/></p><h3><strong>2<span style="font-family: 宋体;">有序列表 </span></strong></h3><p> </p><p>语法格式:</p><p> </p><p><ol type="?" start"?"></p><p> </p><p><li><span style="font-family: 宋体;">文字</span><span style="font-family: &#39;Times New Roman&#39;;"></li> </span></p><p> </p><p><li><span style="font-family: 宋体;">文字</span><span style="font-family: &#39;Times New Roman&#39;;"></li> </span></p><p> </p><p></ol></p><p> </p><p>type<span style="font-family: 宋体;">的值是编号字符可选的有</span><span style="font-family: &#39;Times New Roman&#39;;">1...,a...,A...,i... ,I... </span></p><p> </p><p>start<span style="font-family: 宋体;">为起始值例:如果</span><span style="font-family: &#39;Times New Roman&#39;;">start</span><span style="font-family: 宋体;">为</span><span style="font-family: &#39;Times New Roman&#39;;">3</span><span style="font-family: 宋体;">是那么将从</span><span style="font-family: &#39;Times New Roman&#39;;">3</span><span style="font-family: 宋体;">开始,而且必须是数字。 </span></p><p> </p><p><img class="anchorclass"/></p><h3><strong>3<span style="font-family: 宋体;">定义列表 </span></strong></h3><p> </p><p><dl><span style="font-family: 宋体;">定义列表标记 </span></p><p> </p><p><dt><span style="font-family: 宋体;">标示定义条目 </span></p><p> </p><p><dd><span style="font-family: 宋体;">标示定义内容 </span></p><p> </p><p>语法格式:</p><p> </p><p><dl></p><p> </p><p><dt><span style="font-family: 宋体;">文字</span><span style="font-family: &#39;Times New Roman&#39;;"></dt> </span></p><p> </p><p><dd><span style="font-family: 宋体;">文字内容</span><span style="font-family: &#39;Times New Roman&#39;;"></dd> </span></p><p> </p><p></dl></p><p> </p><p>连接和图像</p><p> </p><p>语法格式:</p><p> </p><p><a href="url" name="?" target="?" title="?">....</a></p><p> </p><p>属性:<span style="font-family: &#39;Times New Roman&#39;;">href </span><span style="font-family: 宋体;">连接目标 值可以是</span><span style="font-family: &#39;Times New Roman&#39;;">url</span><span style="font-family: 宋体;">地址也可以是连接锚点 </span></p><p> </p><p><a href="url">...</a><span style="font-family: 宋体;">或者 </span></p><p> </p><p><a href="<span style="font-family: 宋体;">锚点</span><span style="font-family: &#39;Times New Roman&#39;;">">...</a> </span></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong>name <span style="font-family: 宋体;">连接名称 </span></strong></h2><p> </p><p>语法格式:<span style="font-family: &#39;Times New Roman&#39;;"><a name="</span><span style="font-family: 宋体;">锚点名称</span><span style="font-family: &#39;Times New Roman&#39;;">">...</a> </span></p><p> </p><p>例:<span style="font-family: &#39;Times New Roman&#39;;"><a name="abcdcf">...</a> </span></p><p> </p><p>连接到该锚点的连接则应是:</p><p> </p><p><a name="#abcdef">....</a></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong>target<span style="font-family: 宋体;">目标窗口语法格式</span></strong>:</h2><p> </p><p><a href="url"target="_blank|_self|_farent|_top|windowname">....</a></p><p> </p><p>-blank<span style="font-family: 宋体;">打开新窗口 </span></p><p> </p><p>_self<span style="font-family: 宋体;">当前窗口打开 </span></p><p> </p><p>一下两个仅在框架叶面中应用</p><p> </p><p>_parent<span style="font-family: 宋体;">当前窗口的父级窗口(上一级)打开 </span></p><p> </p><p>_top<span style="font-family: 宋体;">在最高一级的窗口打开 </span></p><p> </p><p>windowname<span style="font-family: 宋体;">已命名的窗口或框架中打开连接 </span></p><p> </p><p>title<span style="font-family: 宋体;">连接提示 </span></p><p> </p><p><a href="http://www.crazytribe.net" title="<span style="font-family: 宋体;">打开狂人部落的首页</span><span style="font-family: &#39;Times New Roman&#39;;">"></span><span style="font-family: 宋体;">狂人部落</span><span style="font-family: &#39;Times New Roman&#39;;"></a> </span></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong>图像<span style="font-family: &#39;Times New Roman&#39;;"><img> </span><span style="font-family: 宋体;">语法格式:</span></strong></h2><p> </p><p><img src="url" alt="?" width="?" height="?" border="?" align="?"></p><p> </p><p>border<span style="font-family: 宋体;">属性定义图片边框的宽度,默认值为</span><span style="font-family: &#39;Times New Roman&#39;;">0 </span></p><p> </p><p>align<span style="font-family: 宋体;">属性设置图片旁边文字的位置 </span></p><p> </p><p>语法格式:<span style="font-family: &#39;Times New Roman&#39;;"><img src="" align""> </span></p><p> </p><p>可选值有:</p><p> </p><p>top<span style="font-family: 宋体;">图片和文字顶部对齐 </span></p><p> </p><p>middle<span style="font-family: 宋体;">图片和文字居中对齐 </span></p><p> </p><p>bottom<span style="font-family: 宋体;">图片和文字底边对齐(默认) </span></p><p> </p><p>left<span style="font-family: 宋体;">图片居左对齐,文字沿图片绕排 </span></p><p> </p><p>right<span style="font-family: 宋体;">图片居右对齐,文字沿图片绕排 </span></p><p> </p><p>absmiddle<span style="font-family: 宋体;">图片对齐到目前文字行绝对中央 </span></p><p> </p><p>absbottom<span style="font-family: 宋体;">图片对齐到目前文字行绝对底部 </span></p><p> </p><p>文字的排版</p><p> </p><p>不换行空白标记</p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong>font<span style="font-family: 宋体;">元素 </span></strong></h2><p> </p><p>语法格式:</p><p> </p><p><font face="<span style="font-family: 宋体;">字体名称</span><span style="font-family: &#39;Times New Roman&#39;;">" size="</span><span style="font-family: 宋体;">字体大小</span><span style="font-family: &#39;Times New Roman&#39;;">" color="</span><span style="font-family: 宋体;">字体颜色</span><span style="font-family: &#39;Times New Roman&#39;;">"> </span></p><p> </p><p>字体大小可选值为<span style="font-family: &#39;Times New Roman&#39;;">1</span><span style="font-family: 宋体;">——</span><span style="font-family: &#39;Times New Roman&#39;;">7</span><span style="font-family: 宋体;">,默认为</span><span style="font-family: &#39;Times New Roman&#39;;">3 </span></p><p> </p><p>例:〈<span style="font-family: &#39;Times New Roman&#39;;">font face="</span><span style="font-family: 宋体;">黑体</span><span style="font-family: &#39;Times New Roman&#39;;">" size="4" color="#ff00ff">....</font> </span></p><p> </p><p><strong>水平线<span style="font-family: &#39;Times New Roman&#39;;"><hr> </span></strong></p><p> </p><p>语法格式:<span style="font-family: &#39;Times New Roman&#39;;"><hr width="</span><span style="font-family: 宋体;">宽度</span><span style="font-family: &#39;Times New Roman&#39;;">" align="</span><span style="font-family: 宋体;">对齐方式默认居中</span><span style="font-family: &#39;Times New Roman&#39;;">center" size="</span><span style="font-family: 宋体;">水平线厚度默认为</span><span style="font-family: &#39;Times New Roman&#39;;">2" color="</span><span style="font-family: 宋体;">颜色</span><span style="font-family: &#39;Times New Roman&#39;;">" noshade> </span></p><p> </p><p>noshade<span style="font-family: 宋体;">无阴影,既实线 </span></p><p> </p><p>层〈<span style="font-family: &#39;Times New Roman&#39;;">p><span></span><span style="font-family: 宋体;">两种元素 </span></p><p> </p><p><p><span style="font-family: 宋体;">是块级元素,和段落元素</span><span style="font-family: &#39;Times New Roman&#39;;"><p></span><span style="font-family: 宋体;">相似,不同的是两个</span><span style="font-family: &#39;Times New Roman&#39;;"><p></span><span style="font-family: 宋体;">元素之间不会产生两个</span><span style="font-family: &#39;Times New Roman&#39;;"><p></span><span style="font-family: 宋体;">元素之间的空行, </span></p><p> </p><p><span><span style="font-family: 宋体;">是行内元素,可以定义段落中部分文字的属性 </span></p><p> </p><p>语法格式:</p><p> </p><p><p align="" style="">...</p></p><p> </p><p>align<span style="font-family: 宋体;">设置层中元素的水平对齐方式 </span></p><p> </p><p>stule<span style="font-family: 宋体;">设置元素应用</span><span style="font-family: &#39;Times New Roman&#39;;">css</span><span style="font-family: 宋体;">规范的属性 </span></p><p> </p><p><p><span style="font-family: 宋体;">兼容性比</span><span style="font-family: &#39;Times New Roman&#39;;"><span></span><span style="font-family: 宋体;">要好一点,最好使用</span><span style="font-family: &#39;Times New Roman&#39;;"><p> </span></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong>表格语法格式</strong>:</h2><p> </p><p><table width="" bgcolor="" background="" border="" cellspacing="" cellpadding=""></p><p> </p><p><tr>...<td>....</td>....</tr></p><p> </p><p></table></p><p> </p><p>border<span style="font-family: 宋体;">边框宽度默认值为</span><span style="font-family: &#39;Times New Roman&#39;;">0</span><span style="font-family: 宋体;">,既没有边框 </span></p><p> </p><p>cellspacing<span style="font-family: 宋体;">表格中单元格的边距大小,默认值为两个像素 </span></p><p> </p><p>cellpadding<span style="font-family: 宋体;">表格中单元格之间的间距大小,默认值为两个像素 </span></p><p> </p><p><img class="anchorclass"/></p><h3><strong>tr<span style="font-family: 宋体;">元素 </span></strong></h3><p> </p><p>语法格式:</p><p> </p><p><tr align="" bgcolor="">....</tr></p><p> </p><p>align<span style="font-family: 宋体;">属性对齐方式可选值如下:</span><span style="font-family: &#39;Times New Roman&#39;;">left,center,tight,</span><span style="font-family: 宋体;">默认为</span><span style="font-family: &#39;Times New Roman&#39;;">left </span></p><p> </p><p>bgcolor<span style="font-family: 宋体;">指定该行的背景颜色 </span></p><p> </p><p><img class="anchorclass"/></p><h3><strong>td<span style="font-family: 宋体;">元素 </span></strong></h3><p> </p><p>语法格式:</p><p> </p><p><td width="<span style="font-family: 宋体;">宽度</span><span style="font-family: &#39;Times New Roman&#39;;">" height="</span><span style="font-family: 宋体;">高度</span><span style="font-family: &#39;Times New Roman&#39;;">" align="</span><span style="font-family: 宋体;">水平对齐方式</span><span style="font-family: &#39;Times New Roman&#39;;">" valign="</span><span style="font-family: 宋体;">垂直对齐方式</span><span style="font-family: &#39;Times New Roman&#39;;">" bgcolor="" background="" rowspan="</span><span style="font-family: 宋体;">单元格的行跨度</span><span style="font-family: &#39;Times New Roman&#39;;">" colapan="</span><span style="font-family: 宋体;">单元格的列跨度</span><span style="font-family: &#39;Times New Roman&#39;;">">.....</td> </span></p><p> </p><p>align<span style="font-family: 宋体;">属性的可选值有:</span><span style="font-family: &#39;Times New Roman&#39;;">left,center,right </span></p><p> </p><p>valign<span style="font-family: 宋体;">属性的可选值有:</span><span style="font-family: &#39;Times New Roman&#39;;">top,middle,bottom </span></p><p> </p><p>rowspan<span style="font-family: 宋体;">和</span><span style="font-family: &#39;Times New Roman&#39;;">colapan</span><span style="font-family: 宋体;">跨行和跨列的数量,默认为</span><span style="font-family: &#39;Times New Roman&#39;;">1 </span></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong>input<span style="font-family: 宋体;">元素 语法格式:</span></strong></h2><p> </p><p><input type=""></p><p> </p><p>type<span style="font-family: 宋体;">属性的可选值有: </span></p><p> </p><p>text <span style="font-family: 宋体;">单行文本框 </span></p><p> </p><p>属性:<span style="font-family: &#39;Times New Roman&#39;;">name </span><span style="font-family: 宋体;">文本框名称 </span></p><p> </p><p>value <span style="font-family: 宋体;">文本框的初始值 </span></p><p> </p><p>size <span style="font-family: 宋体;">文本框的长度 </span></p><p> </p><p>maxlength <span style="font-family: 宋体;">可输入字符串最大的长度 </span></p><p> </p><p>radio <span style="font-family: 宋体;">单选框 </span></p><p> </p><p>属性:<span style="font-family: &#39;Times New Roman&#39;;">name </span><span style="font-family: 宋体;">单选框名称 </span></p><p> </p><p>value <span style="font-family: 宋体;">内部值 </span></p><p> </p><p>checked <span style="font-family: 宋体;">默认选定 </span></p><p> </p><p>checkbox <span style="font-family: 宋体;">复选框 </span></p><p> </p><p>属性:<span style="font-family: &#39;Times New Roman&#39;;">name </span><span style="font-family: 宋体;">复选框名称 </span></p><p> </p><p>value <span style="font-family: 宋体;">内部值 </span></p><p> </p><p>checked <span style="font-family: 宋体;">默认选定 </span></p><p> </p><p>reset <span style="font-family: 宋体;">重置按钮 </span></p><p> </p><p>submit <span style="font-family: 宋体;">确定按钮 </span></p><p> </p><p>属性:<span style="font-family: &#39;Times New Roman&#39;;">name </span><span style="font-family: 宋体;">按钮名称 </span></p><p> </p><p>value <span style="font-family: 宋体;">显示在按钮上的文字 </span></p><p> </p><p>password <span style="font-family: 宋体;">密码框 </span></p><p> </p><p>属性与文本框的属性完全相同</p><p> </p><p>file <span style="font-family: 宋体;">文件域 </span></p><p> </p><p>属性:<span style="font-family: &#39;Times New Roman&#39;;">name</span><span style="font-family: 宋体;">文件域名称 </span></p><p> </p><p>size <span style="font-family: 宋体;">文件域的长度 </span></p><p> </p><p>maxlength <span style="font-family: 宋体;">文件域可接受的字符数量的上限 </span></p><p> </p><p>hidden <span style="font-family: 宋体;">隐藏域 </span></p><p> </p><p>属性:<span style="font-family: &#39;Times New Roman&#39;;">name </span><span style="font-family: 宋体;">隐藏域名称 </span></p><p> </p><p>value <span style="font-family: 宋体;">内定值 </span></p><p> </p><p>image <span style="font-family: 宋体;">图片域 </span></p><p> </p><p>属性:<span style="font-family: &#39;Times New Roman&#39;;">name </span><span style="font-family: 宋体;">所要代表的按钮,可以是</span><span style="font-family: &#39;Times New Roman&#39;;">submit,reset,</span><span style="font-family: 宋体;">或其他</span><span style="font-family: &#39;Times New Roman&#39;;">. </span></p><p> </p><p>src <span style="font-family: 宋体;">按钮图片的</span><span style="font-family: &#39;Times New Roman&#39;;">url </span><span style="font-family: 宋体;">地址 </span></p><p> </p><p>列表框<span style="font-family: &#39;Times New Roman&#39;;"><select> </span></p><p> </p><p>语法格式:</p><p> </p><p><select></p><p> </p><p>.....</p><p> </p><p><option>....</option></p><p> </p><p>.....</p><p> </p><p></select></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong>select<span style="font-family: 宋体;">元素 </span></strong></h2><p> </p><p>语法格式:<span style="font-family: &#39;Times New Roman&#39;;"><select name="" size=""multiple></select> </span></p><p> </p><p>name <span style="font-family: 宋体;">指定列表框的名字 </span></p><p> </p><p>size <span style="font-family: 宋体;">指定列表框显示列表项的条数,如果指定了该参数,</span><span style="font-family: &#39;Times New Roman&#39;;">select</span><span style="font-family: 宋体;">元素是个列表,否则是一个下拉列表框 </span></p><p> </p><p>multiple <span style="font-family: 宋体;">指定了这个参数,则表示该列表框可选择多项,否则只可选择一项 </span></p><p> </p><p><img class="anchorclass"/></p><h3><strong>option<span style="font-family: 宋体;">属性 </span></strong></h3><p> </p><p>语法格式:<span style="font-family: &#39;Times New Roman&#39;;"><option value="" selected></option> </span></p><p> </p><p>value <span style="font-family: 宋体;">该列表项的值 </span></p><p> </p><p>selected <span style="font-family: 宋体;">如果设定了这个参数,默认为选定这一项 </span></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong>多行文本框<span style="font-family: &#39;Times New Roman&#39;;"><textarea> </span></strong></h2><p> </p><p><textarea name="" cols="" rows="" wrap="off/physical/virtual"></textarea></p><p> </p><p>属性:</p><p> </p><p>name<span style="font-family: 宋体;">文本框的名称 </span></p><p> </p><p>cols<span style="font-family: 宋体;">文本框的宽度 </span></p><p> </p><p>rows<span style="font-family: 宋体;">文本框的高度 </span></p><p> </p><p>wrap<span style="font-family: 宋体;">文本框的折行方式可选值有: </span></p><p> </p><p>off<span style="font-family: 宋体;">不保存换行信息 </span></p><p> </p><p>physical<span style="font-family: 宋体;">强迫浏览器在发送信息到</span><span style="font-family: &#39;Times New Roman&#39;;">web</span><span style="font-family: 宋体;">服务器端时必须将多行文本框的文字一行一行的送出, </span></p><p> </p><p>virtual<span style="font-family: 宋体;">送出连续成串的字除非使用者按回车。 </span></p><p> </p><p style="text-align: right">回到顶部<img class="anchorclass"/></p><h2><strong>css <span style="font-family: 宋体;">层叠样式表 </span></strong></h2><p> </p><p>引入层叠样式表的方法包括:</p><p> </p><p><img class="anchorclass"/></p><h3><strong>外联式样式表 </strong></h3><p> </p><p>例:<span style="font-family: &#39;Times New Roman&#39;;"><head> </span></p><p> </p><p><link rel="stylesheet" href="/css/default.css"></p><p> </p><p></head></p><p> </p><p><body></p><p> </p><p>....</p><p> </p><p></body></p><p> </p><p></html></p><p> </p><p>属性:<span style="font-family: &#39;Times New Roman&#39;;">rel </span><span style="font-family: 宋体;">用来说明</span><span style="font-family: &#39;Times New Roman&#39;;"><link></span><span style="font-family: 宋体;">元素在这里要完成的任务是连接一个独立的</span><span style="font-family: &#39;Times New Roman&#39;;">css</span><span style="font-family: 宋体;">文件。而</span><span style="font-family: &#39;Times New Roman&#39;;">href</span><span style="font-family: 宋体;">属性给出了所要连接</span><span style="font-family: &#39;Times New Roman&#39;;">css</span><span style="font-family: 宋体;">文件的</span><span style="font-family: &#39;Times New Roman&#39;;">url</span><span style="font-family: 宋体;">地址 </span></p><p> </p><p>内嵌式样式表:</p><p> </p><p>例:<span style="font-family: &#39;Times New Roman&#39;;"><html> </span></p><p> </p><p><head></p><p> </p><p><style type="text/css"></p><p> </p><p><!--</p><p> </p><p>td{font:9pt;color:red}</p><p </div> <div class="article_ab" style="width: 720px;height: 100px;margin: 0 auto;margin-top: 15px;"> </div> <div class="article_cmnt"> <div class="cmnt_title">吐了个 "CAO" !</div> <form action="" method="post"> <div class="cmnt_text"> <textarea class="ping-txt" onfocus="ck_txt(this);" onblur="ck_txt2(this);" id="ping-txt" name="ping-txt" >吐个槽吧,看都看了</textarea> </div> <div class="cmnt_cmt"> <div class="cmnt_login_box"> <a href="https://www.php1.cn/?s=user/login/index&from=https%3A%2F%2Fwww.php1.cn%2Fdetail%2Fphp-06a1fdcd54.html">会员登录</a> | <a href="http://www.php1.cn/?s=user/reg/index">用户注册</a> </div> <div class="post_cmnt"><input type="button" value="吐 &nbsp;槽" onclick="post_ping();" /></div> </div> </form> </div> </div> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shCore.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushBash.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushCpp.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushCSharp.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushCss.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushDelphi.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushDiff.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushGroovy.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushJava.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushJScript.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushPhp.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushPlain.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushPython.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushRuby.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushScala.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushSql.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushVb.js"></script> <script type="text/javascript" src="https://www.php1.cn/SyntaxHighlighter/scripts/shBrushXml.js"></script> <link type="text/css" rel="stylesheet" href="https://www.php1.cn/SyntaxHighlighter/styles/shCore.css"/> <link type="text/css" rel="stylesheet" href="https://www.php1.cn/SyntaxHighlighter/styles/shThemeLiuQing.css"/> <style>.syntaxhighlighter{padding-top:20px;padding-bottom:20px;}</style> <script type="text/javascript"> SyntaxHighlighter.config.clipboardSwf = 'https://www.php1.cn/SyntaxHighlighter/scripts/clipboard.swf'; SyntaxHighlighter.all(); </script> <div class="article_right"> <div class="profile"> <div class="login"> <!-- 未登录 --> <div class="login-info"> <div class="user-photo"> <img src="/style/home/images/user-no-photo.jpg" class="lazy-img" data-url="" alt="第一PHP社区"> </div> <div class="user-txt"> <p style="color: #666;font-weight: bold;">Hi,亲爱的小伙伴!</p> <p>欢迎来到php1.cn社区!</p> <p><a href="https://www.php1.cn/?s=user/login/index&from=https%3A%2F%2Fwww.php1.cn%2Fdetail%2Fphp-06a1fdcd54.html" class="login-open" title="PHP登录">点击登录, 发现精彩</a></p> </div> </div> <div class="login-btn"> <a href="https://www.php1.cn/?s=user/reg/index" class="skins-btn sign-btn" title="PHP用户注册">注册</a> <a href="https://www.php1.cn/?s=user/login/index&from=https%3A%2F%2Fwww.php1.cn%2Fdetail%2Fphp-06a1fdcd54.html" class="skins-btn skins-btn-green">登录</a> </div> </div> </div> <div class="tools"> <div class="tools_top_line"> <div class="tools_t_l"></div> <div class="tools_t_r"></div> </div> <div class="tools_top">Tools Online | 在线开发工具</div> <div class="tools_box"> <ul> <li> <a href="https://tools.php1.cn/?s=jsformat" title="HTML/JS格式化/压缩">HTML/JS格式化/压缩</a> </li> <li> <a href="https://tools.php1.cn/?s=cssformat" title="CSS代码格式化工具">CSS代码格式化工具</a> </li> <li> <a href="https://tools.php1.cn/?s=editor" title="文章自动排版工具">文章自动排版工具</a> </li> <li> <a href="https://tools.php1.cn/?s=htmljs" title="HTML/JS转换">HTML/JS转换</a> </li> <li> <a href="https://tools.php1.cn/?s=utf8" title="UTF-8编码转换工具">UTF-8编码转换工具</a> </li> <li> <a href="https://tools.php1.cn/?s=unicode" title="Unicode 转换">Unicode 转换</a> </li> <li> <a href="https://tools.php1.cn/?s=urlencode" title="URL编码解码">URL编码解码</a> </li> <li> <a href="https://tools.php1.cn/?s=qrcode" title="二维码生成工具">二维码生成工具</a> </li> <li> <a href="https://tools.php1.cn/?s=ip" title="IP地址查询">IP地址查询</a> </li> <li> <a href="https://tools.php1.cn/?s=httpcode" title="HTTP状态码(响应码)">HTTP状态码(响应码)</a> </li> <li> <a href="https://tools.php1.cn/?s=headers" title="网页Header头">网页Header头</a> </li> <li> <a href="https://tools.php1.cn/?s=htmlcode" title="网页源代码">网页源代码</a> </li> <li> <a href="https://tools.php1.cn/?s=colorjson" title="JSON解析着色">JSON解析着色</a> </li> <li> <a href="https://tools.php1.cn/?s=diff" title="Diff文件比较">Diff文件比较</a> </li> </ul> </div> </div> <div class="rank"> <div class="rank_top_line"> <div class="rank_t_l"></div> <div class="rank_t_r"></div> </div> <div class="rank_top">RankList | 热门文章</div> <div class="rank_box"> <ul> <li> <b >1</b><a href="http://www.php1.cn/detail/php-a22665cf44.html" title="html中网页中如何插入音频和视频?-html教程 ">html中网页中如何插入音频和视频?-html教程 </a> </li> <li> <b >2</b><a href="http://www.php1.cn/detail/php-5a53cb506a.html" title="html中如何给图片添加点击事件的详解-html教程 ">html中如何给图片添加点击事件的详解-html教程 </a> </li> <li> <b >3</b><a href="http://www.php1.cn/detail/php-d2ba4a53c7.html" title="html5 区块与内联div 与span html块级元素-html教程 ">html5 区块与内联div 与span html块级元素-html教程 </a> </li> <li> <b >4</b><a href="http://www.php1.cn/detail/php-e1588ec57c.html" title="浏览器内核 网址分解 web服务器-html教程 ">浏览器内核 网址分解 web服务器-html教程 </a> </li> <li> <b >5</b><a href="http://www.php1.cn/detail/php-e87cd78cfa.html" title="HTML表单相关知识点介绍-html教程 ">HTML表单相关知识点介绍-html教程 </a> </li> <li> <b class="black">6</b><a href="http://www.php1.cn/detail/php-3d51fe7d68.html" title="前端的鼠标滑过图片闪光CSS3效果怎么做-html教程 ">前端的鼠标滑过图片闪光CSS3效果怎么做-html教程 </a> </li> <li> <b class="black">7</b><a href="http://www.php1.cn/detail/php-1d228ea99d.html" title="关于时间轴的效果解析-html教程 ">关于时间轴的效果解析-html教程 </a> </li> <li> <b class="black">8</b><a href="http://www.php1.cn/detail/php-1463f52546.html" title="伪元素::before与::after的用法实例教程-html教程 ">伪元素::before与::after的用法实例教程-html教程 </a> </li> <li> <b class="black">9</b><a href="http://www.php1.cn/detail/php-2f59936003.html" title="Css选择器-html教程 ">Css选择器-html教程 </a> </li> <li> <b class="black">10</b><a href="http://www.php1.cn/detail/php-95a2f54a95.html" title="html中事件的产生以及事件的汇总-html教程 ">html中事件的产生以及事件的汇总-html教程 </a> </li> <li> <b class="black">11</b><a href="http://www.php1.cn/detail/php-e43d7493bd.html" title="html中关于常见全局属性以及全局属性的含义-html教程 ">html中关于常见全局属性以及全局属性的含义-html教程 </a> </li> <li> <b class="black">12</b><a href="http://www.php1.cn/detail/php-ad4d58de9a.html" title="HTML中如何实现鼠标经停时整行(tr)变色的示例代码分享-html教程 ">HTML中如何实现鼠标经停时整行(tr)变色的示例代码分享-html教程 </a> </li> </ul> </div> </div> <div class="wx_pic"> <div class="wx_top_line"> <div class="wx_t_l"></div> <div class="wx_t_r"></div> </div> <div class="wx_top">扫码关注 PHP1 官方微信号</div> <div class="wx_box"> <img src="/style/home/images/wx_pic.png"/> </div> </div> <div class="baidu_ad_box" style="width: 320px;height: 280px;margin-top: 15px;text-align: center;border: 1px solid #ddd;padding-top: 10px;padding-bottom: 10px;"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- zishiying --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-8923551941185667" data-ad-slot="9743942645" data-ad-format="auto"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> <div class="rank"> <div class="rank_top_line"> <div class="rank_t_l"></div> <div class="rank_t_r"></div> </div> <div class="rank_top">Recommend | 推荐阅读</div> <div class="rank_box"> <ul> <li> <b >1</b><a href="http://www.php1.cn/detail/php-552d951b0d.html" title=" SQL2012分页"> SQL2012分页</a> </li> <li> <b >2</b><a href="http://www.php1.cn/detail/php-54ce2bfa1f.html" title=" Indexing Rules of Thumb Index Selection Decisions"> Indexing Rules of Thumb Index Selection Decisions</a> </li> <li> <b >3</b><a href="http://www.php1.cn/detail/php-b96ffddcad.html" title=" sql server与oracle常用函数对比"> sql server与oracle常用函数对比</a> </li> <li> <b >4</b><a href="http://www.php1.cn/detail/php-83550bff0c.html" title="新弄的香港VPS被黑客入侵,特此记录">新弄的香港VPS被黑客入侵,特此记录</a> </li> <li> <b >5</b><a href="http://www.php1.cn/detail/php-7169812d0d.html" title=" 通过SQL绘制杨辉三角"> 通过SQL绘制杨辉三角</a> </li> <li> <b class="black">6</b><a href="http://www.php1.cn/detail/php-5879a44249.html" title=" The INSERT statement conflicted with the FOREIGN KEY constr"> The INSERT statement conflicted with the FOREIGN KEY constr</a> </li> <li> <b class="black">7</b><a href="http://www.php1.cn/detail/php-9efe9dffeb.html" title=" 查询整个数据库中某个特定值所在的表和字段的方法"> 查询整个数据库中某个特定值所在的表和字段的方法</a> </li> <li> <b class="black">8</b><a href="http://www.php1.cn/detail/php-1a3cc0863e.html" title=" 在SQL SERVER 中通过ADSI接口查询活动目录AD信息!"> 在SQL SERVER 中通过ADSI接口查询活动目录AD信息!</a> </li> <li> <b class="black">9</b><a href="http://www.php1.cn/detail/php-8567f13e85.html" title=" com.microsoft.sqlserver.jdbc.SQLServerException"> com.microsoft.sqlserver.jdbc.SQLServerException</a> </li> <li> <b class="black">10</b><a href="http://www.php1.cn/detail/php-700dcd334f.html" title=" SQL Server问题之The remote procedure call failed. [0x800706be]"> SQL Server问题之The remote procedure call failed. [0x800706be]</a> </li> <li> <b class="black">11</b><a href="http://www.php1.cn/detail/php-01b67f0d16.html" title="Sql: 請假跨月份問題,或跨年份問題 日期部分边界">Sql: 請假跨月份問題,或跨年份問題 日期部分边界</a> </li> <li> <b class="black">12</b><a href="http://www.php1.cn/detail/php-f6692cc01d.html" title=" SQL Server 2008 修改表结构后不能保存的问题"> SQL Server 2008 修改表结构后不能保存的问题</a> </li> </ul> </div> </div> </div> <div style="clear: both;"></div> </div> <div style="clear: both"></div> <div class="bottom"> PHP1.CN | 中国最专业的PHP中文社区 | <a href="https://news.php1.cn/" title="PHP资讯">PHP资讯</a> | <a href="https://school.php1.cn/" title="PHP教程">PHP教程</a> | <a href="https://database.php1.cn/" title="数据库技术">数据库技术</a> | <a href="https://server.php1.cn/" title="服务器技术">服务器技术</a> | <a href="https://web.php1.cn/" title="前端技术">前端开发技术</a> | <a href="https://www.php1.cn/phpframework.html" title="PHP框架">PHP框架</a> | <a href="https://tools.php1.cn/">开发工具</a> | <a href="https://ask.php1.cn/" title="PHP问答">PHP问答</a><BR /> Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved PHP1.CN 第一PHP社区 版权所有 <BR /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'https://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script></body> </html>