html标签属性大全

由惊风转载自互联网。跟大家分享,不需要积分!

跑马灯

...普通卷动

...滑动

...预设卷动

...来回卷动

...向下卷动

...向上卷动

向右卷动

left>向左卷动

...卷动次数

...设定宽度

...设定高度

...设定背景颜色

...设定滚动速度

...设定卷动时间

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

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

字体效果

...

标题字(最大)

...
标题字(最小)

...粗体字

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

...斜体字

...斜体字(强调)

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

...底线

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

...横线

...删除线

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

...键盘文字

... 打字体

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

...</plaintext></span>固定宽度字体<span style="font-family:'Times New Roman';">(</span>不执行标记符号<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><listing>...</listing> </span>固定宽度小字体</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><font color=00ff00>...</font></span>字体颜色</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><font size=1>...</font></span>最小字体</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><font style =</span>’<span style="font-family:'Times New Roman';">font-size:100 px</span>’<span style="font-family:'Times New Roman';">>...</font></span>无限增大</p> <p><strong><span style="font-size:14px;">区断标记<span style="font-family:'Times New Roman';"> </span></span></strong></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><hr></span>水平线</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><hr size=</span>’<span style="font-family:'Times New Roman';">9</span>’<span style="font-family:'Times New Roman';">></span>水平线<span style="font-family:'Times New Roman';">(</span>设定大小<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><hr width=</span>’<span style="font-family:'Times New Roman';">80%</span>’<span style="font-family:'Times New Roman';">></span>水平线<span style="font-family:'Times New Roman';">(</span>设定宽度<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><hr color=</span>’<span style="font-family:'Times New Roman';">ff</span><span style="font-family:'Times New Roman';">0000</span>’<span style="font-family:'Times New Roman';">></span>水平线<span style="font-family:'Times New Roman';">(</span>设定颜色<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><br>(</span>换行<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><nobr>...</nobr></span>水域<span style="font-family:'Times New Roman';">(</span>不换行<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><p>...</p></span>水域<span style="font-family:'Times New Roman';">(</span>段落<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><center>...</center></span>置中</p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';"><!></span>连结格式<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><base href=</span>位址<span style="font-family:'Times New Roman';">>(</span>预设好连结路径<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><a href=</span>位址<span style="font-family:'Times New Roman';">></a></span>外部连结</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><a href=</span>位址<span style="font-family:'Times New Roman';"> target=</span>’<span style="font-family:'Times New Roman';">_blank</span>’<span style="font-family:'Times New Roman';">></a></span>外部连结<span style="font-family:'Times New Roman';">(</span>另开新视窗<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><a href=</span>位址<span style="font-family:'Times New Roman';"> target=</span>’<span style="font-family:'Times New Roman';">_top</span>’<span style="font-family:'Times New Roman';">></a></span>外部连结<span style="font-family:'Times New Roman';">(</span>全视窗连结<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><a href=</span>位址<span style="font-family:'Times New Roman';"> target=</span>’页框名’<span style="font-family:'Times New Roman';">></a></span>外部连结<span style="font-family:'Times New Roman';">(</span>在指定页框连结<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';"><!></span>贴图<span style="font-family:'Times New Roman';">/</span>音乐<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><img src=</span>图片位址<span style="font-family:'Times New Roman';">></span>贴图</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><img src=</span>图片位址<span style="font-family:'Times New Roman';"> width=</span>’<span style="font-family:'Times New Roman';">180</span>’<span style="font-family:'Times New Roman';">></span>设定图片宽度</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><img src=</span>图片位址<span style="font-family:'Times New Roman';"> height=</span>’<span style="font-family:'Times New Roman';">30</span>’<span style="font-family:'Times New Roman';">></span>设定图片高度</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><img src=</span>图片位址<span style="font-family:'Times New Roman';"> alt=</span>’提示文字’<span style="font-family:'Times New Roman';">></span>设定图片提示文字</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><img src=</span>图片位址’<span style="font-family:'Times New Roman';"> border=</span>’<span style="font-family:'Times New Roman';">1</span>’<span style="font-family:'Times New Roman';">></span>设定图片边框</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><bgsound src=MID</span>音乐档位址<span style="font-family:'Times New Roman';">></span>背景音乐设定</p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';"><!></span>表格语法<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table aling=left>...</table></span>表格位置<span style="font-family:'Times New Roman';">,</span>置左</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table aling=center>...</table></span>表格位置<span style="font-family:'Times New Roman';">,</span>置中</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table background=</span>图片路径<span style="font-family:'Times New Roman';">>...</table></span>背景图片的<span style="font-family:'Times New Roman';">URL=</span>就是路径网址</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table border=</span>边框大小<span style="font-family:'Times New Roman';">>...</table></span>设定表格边框大小<span style="font-family:'Times New Roman';">(</span>使用数字<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table bgcolor=</span>颜色码<span style="font-family:'Times New Roman';">>...</table></span>设定表格的背景颜色</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table borderclor=</span>颜色码<span style="font-family:'Times New Roman';">>...</table></span>设定表格边框的颜色</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table borderclordark=</span>颜色码<span style="font-family:'Times New Roman';">>...</table></span>设定表格暗边框的颜色</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table borderclorlight=</span>颜色码<span style="font-family:'Times New Roman';">>...</table></span>设定表格亮边框的颜色</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table cellpadding=</span>参数<span style="font-family:'Times New Roman';">>...</table></span>指定内容与格线之间的间距<span style="font-family:'Times New Roman';">(</span>使用数字<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table cellspacing=</span>参数<span style="font-family:'Times New Roman';">>...</table></span>指定格线与格线之间的距离<span style="font-family:'Times New Roman';">(</span>使用数字<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table cols=</span>参数<span style="font-family:'Times New Roman';">>...</table></span>指定表格的栏数</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table frame=</span>参数<span style="font-family:'Times New Roman';">>...</table></span>设定表格外框线的显示方式</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table width=</span>宽度<span style="font-family:'Times New Roman';">>...</table></span>指定表格的宽度大小<span style="font-family:'Times New Roman';">(</span>使用数字<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table height=</span>高度<span style="font-family:'Times New Roman';">>...</table></span>指定表格的高度大小<span style="font-family:'Times New Roman';">(</span>使用数字<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><td colspan=</span>参数<span style="font-family:'Times New Roman';">>...</td></span>指定储存格合并栏的栏数<span style="font-family:'Times New Roman';">(</span>使用数字<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><td rowspan=</span>参数<span style="font-family:'Times New Roman';">>...</td></span>指定储存格合并列的列数<span style="font-family:'Times New Roman';">(</span>使用数字<span style="font-family:'Times New Roman';">) </span></p> <p><strong><span style="font-size:14px;">分割视窗<span style="font-family:'Times New Roman';"> </span></span></strong></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><frameset cols="20%,*"></span>左右分割<span style="font-family:'Times New Roman';">,</span>将左边框架分割大小为<span style="font-family:'Times New Roman';">20%</span>右边框架的大小浏览器会自动调整</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><frameset rows="20%,*"></span>上下分割<span style="font-family:'Times New Roman';">,</span>将上面框架分割大小为<span style="font-family:'Times New Roman';">20%</span>下面框架的大小浏览器会自动调整</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><frameset cols="20%,*"></span>分割左右两个框架</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><frameset cols="20%,*,20%"></span>分割左中右三个框架</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><</span>分割上下两个框架</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><frameset rows="20%,*,20%"></span>分割上中下三个框架</p> <p><span style="font-size:14px;">属性:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><strong>cols</strong> </span>垂直切割窗口(如左右分割两个窗口)接受整数值,百分数,<span style="font-family:'Times New Roman';">*</span>(<span style="font-family:'Times New Roman';">*</span>代表占用余下空间)数值的个数代表分成的部分数目,要以逗号分隔。例:<span style="font-family:'Times New Roman';">cols="30,*,50%"</span>可以切成三个视窗,第一部分是<span style="font-family:'Times New Roman';">30</span>像素(<span style="font-family:'Times New Roman';">pixels</span>)为绝对分割,第二部分是当分配完第一和第三视图后剩下的空间,第三部分则占整个窗口的<span style="font-family:'Times New Roman';">50%</span>宽度,为相对分割。</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><strong>rows</strong> </span>就是横向切割,将窗口上下分开,数值设置同上。</p> <p><span style="font-size:14px;">以上两属性尽量不要在同一个<span style="font-family:'Times New Roman';"><frameset></span>标记中,因为王井(<span style="font-family:'Times New Roman';">netscape</span>)不支持,尽量采用多重分割。</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">frameborder </span>设置框架的边框,其值有<span style="font-family:'Times New Roman';">0</span>不要边框,<span style="font-family:'Times New Roman';">1</span>要边框。</p> <p><span style="font-family:'Times New Roman';font-size:14px;">border </span>设置框架边框厚度</p> <p><span style="font-family:'Times New Roman';font-size:14px;">framespacing </span> 表示框架与框架间保留空白的距离</p> <p><span style="font-family:'Times New Roman';font-size:14px;">frame </span>元素(单标签)</p> <p><span style="font-size:14px;">语法格式:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><frame name="" src="url" scrolling="yes/no" noresize> </span></p> <p><span style="font-size:14px;">属性:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">name </span>框架名称,指定框架来做连接的目标窗口。</p> <p><span style="font-family:'Times New Roman';font-size:14px;">src </span>框架中要显示的网页文当<span style="font-family:'Times New Roman';">url</span>地址,每个个框架要对应一个<span style="font-family:'Times New Roman';">html</span>文挡。</p> <p><span style="font-family:'Times New Roman';font-size:14px;">scrolling </span>是否显示滚动条,<span style="font-family:'Times New Roman';">yes/no,auto</span>是自动。</p> <p><span style="font-family:'Times New Roman';font-size:14px;">noresize </span>设置不让使用者改变这个框架的大小,</p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">noframe</span>元素<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">指定当使用了框架的页面在不支持框架的浏览器中打开时显示的信息</span></p> <p><span style="font-size:14px;">语法格式:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><noframe> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">...... </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></noframe> </span></p> <p><strong><span style="font-size:14px;">表单<span style="font-family:'Times New Roman';"><form></form> </span></span></strong></p> <p><span style="font-size:14px;">语法格式:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><form action="url" method="get/post"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">.... </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><input type=submit><input type=reset> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></form> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">method</span>有两种提交方式<span style="font-family:'Times New Roman';">get,post </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">action </span>是指明处理该表单的程序位置,这样表单所填的资料才能传给<span style="font-family:'Times New Roman';">cgi</span>做处里,可设定此参数为<span style="font-family:'Times New Roman';">action="mailto:lwr8494@163.com" </span>这样此表单所填的资料将会发送到这个邮箱地址。</p> <p><span style="font-family:'Times New Roman';font-size:14px;">method </span>是指传送信息给<span style="font-family:'Times New Roman';">cgi</span>等网络程序的方式。可选<span style="font-family:'Times New Roman';">post</span>方法,<span style="font-family:'Times New Roman';"> get</span>方法,<span style="font-family:'Times New Roman';">post</span>方法容许传送大量信息。<span style="font-family:'Times New Roman';">get</span>方法只接受低于<span style="font-family:'Times New Roman';">1k</span>的信息。</p> <p><span style="font-size:14px;">申请表单用的是<span style="font-family:'Times New Roman';">post</span>搜索引擎用的是<span style="font-family:'Times New Roman';">get </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"> </span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';"><! - - ... - -> </span>注解<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><A HREF TARGET> </span> 指定超连结的分割视窗</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><A HREF=#</span>锚的名称<span style="font-family:'Times New Roman';">> </span>指定锚名称的超连结</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><A HREF> </span>指定超连结</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><A NAME=</span>锚的名称<span style="font-family:'Times New Roman';">> </span>被连结点的名称</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><ADDRESS>....</ADDRESS> </span>用来显示电子邮箱地址</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><B> </span>粗体字</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><BASE TARGET> </span> 指定超连结的分割视窗</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><BASEFONT SIZE> </span> 更改预设字形大小</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><BGSOUND SRC> </span> 加入背景音乐</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><BIG> </span>显示大字体</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><BLINK> </span>闪烁的文字</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><BODY TEXT LINK VLINK> </span>设定文字颜色</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><BODY> </span>显示本文</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><BR> </span>换行</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><CAPTION ALIGN> </span> 设定表格标题位置</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><CAPTION>...</CAPTION> </span>为表格加上标题</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><CENTER> </span>向中对齐</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><CITE>...<CITE> </span> 用於引经据典的文字</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><CODE>...</CODE> </span> 用於列出一段程式码</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><COMMENT>...</COMMENT> </span>加上注解</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><DD> </span>设定定义列表的项目解说</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><DFN>...</DFN> </span> 显示<span style="font-family:'Times New Roman';">"</span>定义<span style="font-family:'Times New Roman';">"</span>文字</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><DIR>...</DIR> </span> 列表文字标签</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><DL>...</DL> </span> 设定定义列表的标签</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><DT> </span>设定定义列表的项目</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><EM> </span>强调之用</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><FONT FACE> </span>任意指定所用的字形</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><FONT SIZE> </span>设定字体大小</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><FORM ACTION> </span> 设定户动式表单的处理方式</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><FORM METHOD> </span> 设定户动式表单之资料传送方式</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><FRame MARGINHEIGHT> </span>设定视窗的上下边界</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><FRame MARGINWIDTH> </span> 设定视窗的左右边界</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><FRame NAME> </span> 为分割视窗命名</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><FRame NORESIZE> </span> 锁住分割视窗的大小</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><FRame SCROLLING> </span> 设定分割视窗的卷轴</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><FRame SRC> </span>将<span style="font-family:'Times New Roman';">HTML</span>档加入视窗</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><FRameSET COLS> </span> 将视窗分割成左右的子视窗</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><FRameSET ROWS> </span> 将视窗分割成上下的子视窗</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><FRameSET>...</FRameSET> </span>划分分割视窗</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><H1>~<H6> </span>设定文字大小</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><HEAD> </span>标示文件资讯</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><HR> </span>加上分格线</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><HTML> </span>文件的开始与结束</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><I> </span>斜体字</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><IMG ALIGN> </span>调整图形影像的位置</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><IMG ALT> </span>为你的图形影像加注</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><IMG DYNSRC LOOP> </span> 加入影片</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><IMG HEIGHT WIDTH> </span> 插入图片并预设图形大小</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><IMG HSPACE> </span> 插入图片并预设图形的左右边界</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><IMG LOWSRC> </span> 预载图片功能</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><IMG SRC BORDER> </span> 设定图片边界</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><IMG SRC> </span>插入图片</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><IMG VSPACE> </span> 插入图片并预设图形的上下边界</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><INPUT TYPE NAME value> </span>在表单中加入输入栏位</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><ISINDEX> </span>定义查询用表单</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><KBD>...</KBD> </span> 表示使用者输入文字</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><LI TYPE>...</LI> </span> 列表的项目<span style="font-family:'Times New Roman';"> ( </span>可指定符号<span style="font-family:'Times New Roman';"> ) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><MARQUEE> </span>跑马灯效果</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><MENU>...</MENU> </span> 条列文字标签</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><meta NAME="REFRESH" CONTENT URL> </span>自动更新文件内容</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><MULTIPLE> </span>可同时选择多项的列表栏</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><NOFRame> </span>定义不出现分割视窗的文字</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><OL>...</OL> </span> 有序号的列表</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><OPTION> </span>定义表单中列表栏的项目</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><P ALIGN> </span>设定对齐方向</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><P> </span>分段</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><PERSON>...</PERSON> </span>显示人名</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><PRE> </span>使用原有排列</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><SAMP>...</SAMP> </span> 用於引用字</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><select >...</select > </span>在表单中定义列表栏</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><SMALL> </span>显示小字体</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><STRIKE> </span>文字加横线</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><STRONG> </span>用於加强语气</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><SUB> </span>下标字</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><SUP> </span>上标字</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TABLE BORDER=n> </span> 调整表格的宽线高度</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TABLE CELLPADDING> </span> 调整资料栏位之边界</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TABLE CELLSPACING> </span> 调整表格线的宽度</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TABLE HEIGHT> </span> 调整表格的高度</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TABLE WIDTH> </span> 调整表格的宽度</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TABLE>...</TABLE> </span> 产生表格的标签</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TD ALIGN> </span>调整表格栏位之左右对齐</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TD BGCOLOR> </span> 设定表格栏位之背景颜色</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TD COLSPAN ROWSPAN> </span>表格栏位的合并</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TD NOWRAP> </span>设定表格栏位不换行</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TD VALIGN> </span>调整表格栏位之上下对齐</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TD WIDTH> </span>调整表格栏位宽度</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TD>...</TD> </span> 定义表格的资料栏位</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TEXTAREA NAME ROWS COLS> </span>表单中加入多少列的文字输入栏</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TEXTAREA WRAP> </span> 决定文字输入栏是自动否换行</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TH>...</TH> </span> 定义表格的标头栏位</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TITLE> </span>文件标题</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TR>...</TR> </span> 定义表格美一行</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TT> </span>打字机字体</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><U> </span>文字加底线</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><UL TYPE>...</UL> </span> 无序号的列表<span style="font-family:'Times New Roman';"> ( </span>可指定符号<span style="font-family:'Times New Roman';"> ) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><var>...</var> </span> 用於显示变数</p> <p><span style="font-family:'Times New Roman';font-size:14px;">BlockQuotc</span>文本缩进</p> <p><strong><span style="font-size:14px;">表示颜色的有三种方式;<span style="font-family:'Times New Roman';"> </span></span></strong></p> <p><span style="font-family:'Times New Roman';font-size:14px;">1</span>,<span style="font-family:'Times New Roman';">16</span>进制颜色代码</p> <p><span style="font-size:14px;">语法:<span style="font-family:'Times New Roman';">#RRGGBB </span></span></p> <p><span style="font-size:14px;">例:<span style="font-family:'Times New Roman';"><font color="#ff0000"></span>红色<span style="font-family:'Times New Roman';"></font> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">2</span>,<span style="font-family:'Times New Roman';">10</span>进制<span style="font-family:'Times New Roman';">RGB</span>码</p> <p><span style="font-size:14px;">语法:<span style="font-family:'Times New Roman';">RGB</span>(<span style="font-family:'Times New Roman';">RRR</span>,<span style="font-family:'Times New Roman';">GGG</span>,<span style="font-family:'Times New Roman';">BBB</span>)</span></p> <p><span style="font-size:14px;">例:<span style="font-family:'Times New Roman';"><font color="rgb(255,000,000)"></span>红色<span style="font-family:'Times New Roman';"></font> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">3,</span>直接用颜色的英文名称</p> <p><span style="font-size:14px;">例:<span style="font-family:'Times New Roman';"><font color="red"></span>红色<span style="font-family:'Times New Roman';"></font> </span></span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';"><body>.....</body></span>属性可分为三种:<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">1</span>,背景属性</p> <p><span style="font-size:14px;">包括:<span style="font-family:'Times New Roman';">bgcolor,background </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">2,</span>文字属性:</p> <p><span style="font-size:14px;">包括:<span style="font-family:'Times New Roman';">text,link,alink,vlink, </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">3,</span>留白属性:</p> <p><span style="font-size:14px;">其中分为:<span style="font-family:'Times New Roman';">leftmargin,topmargin </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">.bgcolor</span>背景色</p> <p><span style="font-size:14px;">语法格式:<span style="font-family:'Times New Roman';"><body bgcolor="#ff0000"> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">.background</span>背景图案。</p> <p><span style="font-size:14px;">语法格式:<span style="font-family:'Times New Roman';"><body background="url"> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">.text</span>文本颜色(非连接文字颜色)</p> <p><span style="font-family:'Times New Roman';font-size:14px;">.link</span>连接文字颜色(可连接文字颜色)</p> <p><span style="font-family:'Times New Roman';font-size:14px;">.alink</span>活动连接文字颜色(正被点击的可连接文字的颜色)</p> <p><span style="font-family:'Times New Roman';font-size:14px;">.vlink</span>已访问连接文字颜色)(已经点击访问过的可连接文字的颜色)</p> <p><span style="font-size:14px;">语法格式:<span style="font-family:'Times New Roman';"><body text="color" link="color" alink="color" vlink="color"> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">.leftmargin </span>页面左侧的留白距离</p> <p><span style="font-family:'Times New Roman';font-size:14px;">.topmargin </span>页面顶部的留白距离</p> <p><span style="font-size:14px;">语法格式:<span style="font-family:'Times New Roman';"><body leftmargin="value" topmargin="value"> </span></span></p> <p><span style="font-size:14px;">注:<span style="font-family:'Times New Roman';">value</span>为长度值为数字</span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">align </span>属性<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">语法:<span style="font-family:'Times New Roman';"><h2 align="?"></span>文字<span style="font-family:'Times New Roman';"></h2> </span></span></p> <p><span style="font-size:14px;">其属性有三种:<span style="font-family:'Times New Roman';">left</span>靠左<span style="font-family:'Times New Roman';">,center</span>居中<span style="font-family:'Times New Roman';">,right</span>靠右</span></p> <p><span style="font-size:14px;">〈<span style="font-family:'Times New Roman';">p</span>〉<span style="font-family:'Times New Roman';"></p></span>为段落标记,可利用以上属性对整个段落进行设置</span></p> <p><span style="font-size:14px;">〈<span style="font-family:'Times New Roman';">br></span>为换行标记</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><nobr></nobr></span>为不换行标记放在文字两边即可</p> <p><span style="font-size:14px;">例:<span style="font-family:'Times New Roman';"><body> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><h3></span>江南逢李龟年<span style="font-family:'Times New Roman';"></h3> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><p></span>歧王宅里寻常见<span style="font-family:'Times New Roman';"><br> </span></p> <p><span style="font-size:14px;">催九堂前几度闻<span style="font-family:'Times New Roman';"><br> </span></span></p> <p><span style="font-size:14px;">正是江南好风景<span style="font-family:'Times New Roman';"><br> </span></span></p> <p><span style="font-size:14px;">落花时节又逢君<span style="font-family:'Times New Roman';"></p> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></body> </span></p> <p><strong><span style="font-size:14px;">预格式化:<span style="font-family:'Times New Roman';"> </span></span></strong></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><pre>......</pre> </span> 浏览是效果和编写是效果格式一样</p> <p><span style="font-size:14px;"><strong>列表</strong></span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">1</span>无序列表又称符号列表<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">语法格式:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><ul type="">type</span>的属性可选直<span style="font-family:'Times New Roman';">disc</span>实心圆点<span style="font-family:'Times New Roman';">,clrcle</span>空心圆点<span style="font-family:'Times New Roman';">,square</span>实心方框</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><li></span>文字<span style="font-family:'Times New Roman';"></li> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><li></span>文字<span style="font-family:'Times New Roman';"></li> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></ul> </span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">2</span>有序列表<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">语法格式:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><ol type="?" start"?"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><li></span>文字<span style="font-family:'Times New Roman';"></li> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><li></span>文字<span style="font-family:'Times New Roman';"></li> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></ol> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">type</span>的值是编号字符可选的有<span style="font-family:'Times New Roman';">1...,a...,A...,i... ,I... </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">start</span>为起始值例:如果<span style="font-family:'Times New Roman';">start</span>为<span style="font-family:'Times New Roman';">3</span>是那么将从<span style="font-family:'Times New Roman';">3</span>开始,而且必须是数字。</p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">3</span>定义列表<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><dl></span>定义列表标记</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><dt></span>标示定义条目</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><dd></span>标示定义内容</p> <p><span style="font-size:14px;">语法格式:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><dl> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><dt></span>文字<span style="font-family:'Times New Roman';"></dt> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><dd></span>文字内容<span style="font-family:'Times New Roman';"></dd> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></dl> </span></p> <p><span style="font-size:14px;">连接和图像</span></p> <p><span style="font-size:14px;">语法格式:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><a href="url" name="?" target="?" title="?">....</a> </span></p> <p><span style="font-size:14px;">属性:<span style="font-family:'Times New Roman';">href </span>连接目标值可以是<span style="font-family:'Times New Roman';">url</span>地址也可以是连接锚点</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><a href="url">...</a></span>或者</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><a href="</span>锚点<span style="font-family:'Times New Roman';">">...</a> </span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">name </span>连接名称<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">语法格式:<span style="font-family:'Times New Roman';"><a name="</span>锚点名称<span style="font-family:'Times New Roman';">">...</a> </span></span></p> <p><span style="font-size:14px;">例:<span style="font-family:'Times New Roman';"><a name="abcdcf">...</a> </span></span></p> <p><span style="font-size:14px;">连接到该锚点的连接则应是:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><a name="#abcdef">....</a> </span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">target</span>目标窗口语法格式</strong>:<span style="font-family:'Times New Roman';"> <strong></strong></span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><a href="url"target="_blank|_self|_farent|_top|windowname">....</a> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">-blank</span>打开新窗口</p> <p><span style="font-family:'Times New Roman';font-size:14px;">_self</span>当前窗口打开</p> <p><span style="font-size:14px;">一下两个仅在框架叶面中应用</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">_parent</span>当前窗口的父级窗口(上一级)打开</p> <p><span style="font-family:'Times New Roman';font-size:14px;">_top</span>在最高一级的窗口打开</p> <p><span style="font-family:'Times New Roman';font-size:14px;">windowname</span>已命名的窗口或框架中打开连接</p> <p><span style="font-family:'Times New Roman';font-size:14px;">title</span>连接提示</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><a href="http://www.crazytribe.net" title="</span>打开狂人部落的首页<span style="font-family:'Times New Roman';">"></span>狂人部落<span style="font-family:'Times New Roman';"></a> </span></p> <p><span style="font-size:14px;"><strong>图像<span style="font-family:'Times New Roman';"><img> </span>语法格式:</strong></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><img src="url" alt="?" width="?" height="?" border="?" align="?"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">border</span>属性定义图片边框的宽度,默认值为<span style="font-family:'Times New Roman';">0 </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">align</span>属性设置图片旁边文字的位置</p> <p><span style="font-size:14px;">语法格式:<span style="font-family:'Times New Roman';"><img src="" align""> </span></span></p> <p><span style="font-size:14px;">可选值有:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">top</span>图片和文字顶部对齐</p> <p><span style="font-family:'Times New Roman';font-size:14px;">middle</span>图片和文字居中对齐</p> <p><span style="font-family:'Times New Roman';font-size:14px;">bottom</span>图片和文字底边对齐(默认)</p> <p><span style="font-family:'Times New Roman';font-size:14px;">left</span>图片居左对齐,文字沿图片绕排</p> <p><span style="font-family:'Times New Roman';font-size:14px;">right</span>图片居右对齐,文字沿图片绕排</p> <p><span style="font-family:'Times New Roman';font-size:14px;">absmiddle</span>图片对齐到目前文字行绝对中央</p> <p><span style="font-family:'Times New Roman';font-size:14px;">absbottom</span>图片对齐到目前文字行绝对底部</p> <p><span style="font-size:14px;">文字的排版</span></p> <p><span style="font-size:14px;">不换行空白标记</span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">font</span>元素<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">语法格式:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><font face="</span>字体名称<span style="font-family:'Times New Roman';">" size="</span>字体大小<span style="font-family:'Times New Roman';">" color="</span>字体颜色<span style="font-family:'Times New Roman';">"> </span></p> <p><span style="font-size:14px;">字体大小可选值为<span style="font-family:'Times New Roman';">1</span>——<span style="font-family:'Times New Roman';">7</span>,默认为<span style="font-family:'Times New Roman';">3 </span></span></p> <p><span style="font-size:14px;">例:〈<span style="font-family:'Times New Roman';">font face="</span>黑体<span style="font-family:'Times New Roman';">" size="4" color="#ff00ff">....</font> </span></span></p> <p><strong><span style="font-size:14px;">水平线<span style="font-family:'Times New Roman';"><hr> </span></span></strong></p> <p><span style="font-size:14px;">语法格式:<span style="font-family:'Times New Roman';"><hr width="</span>宽度<span style="font-family:'Times New Roman';">" align="</span>对齐方式默认居中<span style="font-family:'Times New Roman';">center" size="</span>水平线厚度默认为<span style="font-family:'Times New Roman';">2" color="</span>颜色<span style="font-family:'Times New Roman';">" noshade> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">noshade</span>无阴影,既实线</p> <p><span style="font-size:14px;">层〈<span style="font-family:'Times New Roman';">div><span></span>两种元素</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><div></span>是块级元素,和段落元素<span style="font-family:'Times New Roman';"><p></span>相似,不同的是两个<span style="font-family:'Times New Roman';"><div></span>元素之间不会产生两个<span style="font-family:'Times New Roman';"><p></span>元素之间的空行,</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><span></span>是行内元素,可以定义段落中部分文字的属性</p> <p><span style="font-size:14px;">语法格式:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><div align="" style="">...</div> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">align</span>设置层中元素的水平对齐方式</p> <p><span style="font-family:'Times New Roman';font-size:14px;">stule</span>设置元素应用<span style="font-family:'Times New Roman';">css</span>规范的属性</p> <p><span style="font-family:'Times New Roman';font-size:14px;"><div></span>兼容性比<span style="font-family:'Times New Roman';"><span></span>要好一点,最好使用<span style="font-family:'Times New Roman';"><div> </span></p> <p><span style="font-size:14px;"><strong>表格语法格式</strong>:<span style="font-family:'Times New Roman';"> <strong></strong></span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table width="" bgcolor="" background="" border="" cellspacing="" cellpadding=""> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><tr>...<td>....</td>....</tr> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></table> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">border</span>边框宽度默认值为<span style="font-family:'Times New Roman';">0</span>,既没有边框</p> <p><span style="font-family:'Times New Roman';font-size:14px;">cellspacing</span>表格中单元格的边距大小,默认值为两个像素</p> <p><span style="font-family:'Times New Roman';font-size:14px;">cellpadding</span>表格中单元格之间的间距大小,默认值为两个像素</p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">tr</span>元素<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">语法格式:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><tr align="" bgcolor="">....</tr> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">align</span>属性对齐方式可选值如下:<span style="font-family:'Times New Roman';">left,center,tight,</span>默认为<span style="font-family:'Times New Roman';">left </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">bgcolor</span>指定该行的背景颜色</p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">td</span>元素<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">语法格式:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><td width="</span>宽度<span style="font-family:'Times New Roman';">" height="</span>高度<span style="font-family:'Times New Roman';">" align="</span>水平对齐方式<span style="font-family:'Times New Roman';">" valign="</span>垂直对齐方式<span style="font-family:'Times New Roman';">" bgcolor="" background="" rowspan="</span>单元格的行跨度<span style="font-family:'Times New Roman';">" colapan="</span>单元格的列跨度<span style="font-family:'Times New Roman';">">.....</td> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">align</span>属性的可选值有:<span style="font-family:'Times New Roman';">left,center,right </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">valign</span>属性的可选值有:<span style="font-family:'Times New Roman';">top,middle,bottom </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">rowspan</span>和<span style="font-family:'Times New Roman';">colapan</span>跨行和跨列的数量,默认为<span style="font-family:'Times New Roman';">1 </span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">input</span>元素语法格式:</strong></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><input type=""> </span> </p> <p><span style="font-family:'Times New Roman';font-size:14px;">type</span>属性的可选值有:</p> <p><span style="font-family:'Times New Roman';font-size:14px;">text </span>单行文本框</p> <p><span style="font-size:14px;">属性:<span style="font-family:'Times New Roman';">name </span>文本框名称</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">value </span>文本框的初始值</p> <p><span style="font-family:'Times New Roman';font-size:14px;">size </span>文本框的长度</p> <p><span style="font-family:'Times New Roman';font-size:14px;">maxlength </span>可输入字符串最大的长度</p> <p><span style="font-family:'Times New Roman';font-size:14px;">radio </span>单选框</p> <p><span style="font-size:14px;">属性:<span style="font-family:'Times New Roman';">name </span>单选框名称</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">value </span>内部值</p> <p><span style="font-family:'Times New Roman';font-size:14px;">checked </span>默认选定</p> <p><span style="font-family:'Times New Roman';font-size:14px;">checkbox </span>复选框</p> <p><span style="font-size:14px;">属性:<span style="font-family:'Times New Roman';">name </span>复选框名称</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">value </span>内部值</p> <p><span style="font-family:'Times New Roman';font-size:14px;">checked </span>默认选定</p> <p><span style="font-family:'Times New Roman';font-size:14px;">reset </span>重置按钮</p> <p><span style="font-family:'Times New Roman';font-size:14px;">submit </span>确定按钮</p> <p><span style="font-size:14px;">属性:<span style="font-family:'Times New Roman';">name </span>按钮名称</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">value </span>显示在按钮上的文字</p> <p><span style="font-family:'Times New Roman';font-size:14px;">password </span>密码框</p> <p><span style="font-size:14px;">属性与文本框的属性完全相同</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">file </span>文件域</p> <p><span style="font-size:14px;">属性:<span style="font-family:'Times New Roman';">name</span>文件域名称</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">size </span>文件域的长度</p> <p><span style="font-family:'Times New Roman';font-size:14px;">maxlength </span>文件域可接受的字符数量的上限</p> <p><span style="font-family:'Times New Roman';font-size:14px;">hidden </span>隐藏域</p> <p><span style="font-size:14px;">属性:<span style="font-family:'Times New Roman';">name </span>隐藏域名称</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">value </span>内定值</p> <p><span style="font-family:'Times New Roman';font-size:14px;">image </span>图片域</p> <p><span style="font-size:14px;">属性:<span style="font-family:'Times New Roman';">name </span>所要代表的按钮,可以是<span style="font-family:'Times New Roman';">submit,reset,</span>或其他<span style="font-family:'Times New Roman';">. </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">src </span>按钮图片的<span style="font-family:'Times New Roman';">url </span>地址</p> <p><span style="font-size:14px;">列表框<span style="font-family:'Times New Roman';"><select> </span></span></p> <p><span style="font-size:14px;">语法格式:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><select> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">..... </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><option>....</option> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">..... </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></select> </span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">select</span>元素<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">语法格式:<span style="font-family:'Times New Roman';"><select name="" size=""multiple></select> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">name </span>指定列表框的名字</p> <p><span style="font-family:'Times New Roman';font-size:14px;">size </span>指定列表框显示列表项的条数,如果指定了该参数,<span style="font-family:'Times New Roman';">select</span>元素是个列表,否则是一个下拉列表框</p> <p><span style="font-family:'Times New Roman';font-size:14px;">multiple </span>指定了这个参数,则表示该列表框可选择多项,否则只可选择一项</p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">option</span>属性<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">语法格式:<span style="font-family:'Times New Roman';"><option value="" selected></option> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">value </span>该列表项的值</p> <p><span style="font-family:'Times New Roman';font-size:14px;">selected </span>如果设定了这个参数,默认为选定这一项</p> <p><strong><span style="font-size:14px;">多行文本框<span style="font-family:'Times New Roman';"><textarea> </span></span></strong></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><textarea name="" cols="" rows="" wrap="off/physical/virtual"></textarea> </span></p> <p><span style="font-size:14px;">属性:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">name</span>文本框的名称</p> <p><span style="font-family:'Times New Roman';font-size:14px;">cols</span>文本框的宽度</p> <p><span style="font-family:'Times New Roman';font-size:14px;">rows</span>文本框的高度</p> <p><span style="font-family:'Times New Roman';font-size:14px;">wrap</span>文本框的折行方式可选值有:</p> <p><span style="font-family:'Times New Roman';font-size:14px;">off</span>不保存换行信息</p> <p><span style="font-family:'Times New Roman';font-size:14px;">physical</span>强迫浏览器在发送信息到<span style="font-family:'Times New Roman';">web</span>服务器端时必须将多行文本框的文字一行一行的送出,</p> <p><span style="font-family:'Times New Roman';font-size:14px;">virtual</span>送出连续成串的字除非使用者按回车。</p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">css </span>层叠样式表<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">引入层叠样式表的方法包括:</span></p> <p><strong><span style="font-size:14px;">外联式样式表<span style="font-family:'Times New Roman';"> </span></span></strong></p> <p><span style="font-size:14px;">例:<span style="font-family:'Times New Roman';"><head> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><link rel="stylesheet" href="/css/default.css"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">.... </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></html> </span></p> <p><span style="font-size:14px;">属性:<span style="font-family:'Times New Roman';">rel </span> 用来说明<span style="font-family:'Times New Roman';"><link></span>元素在这里要完成的任务是连接一个独立的<span style="font-family:'Times New Roman';">css</span>文件。而<span style="font-family:'Times New Roman';">href</span>属性给出了所要连接<span style="font-family:'Times New Roman';">css</span>文件的<span style="font-family:'Times New Roman';">url</span>地址</span></p> <p><span style="font-size:14px;">内嵌式样式表:</span></p> <p><span style="font-size:14px;">例:<span style="font-family:'Times New Roman';"><html> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><style type="text/css"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><!-- </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">td{font:9pt;color:red} </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">.font105{font:10.5pt;color:blue} </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">--> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></style> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><body>....</body> </span> </p> <p><span style="font-family:'Times New Roman';font-size:14px;"></html> </span></p> <p><strong><span style="font-size:14px;">元素内定<span style="font-family:'Times New Roman';"> </span></span></strong></p> <p><span style="font-size:14px;">格式:<span style="font-family:'Times New Roman';"><p style="font-size:10.5pt"> </span></span></p> <p><strong><span style="font-size:14px;">导入式样式表<span style="font-family:'Times New Roman';"> </span></span></strong></p> <p><span style="font-size:14px;">〈<span style="font-family:'Times New Roman';">html> </span> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><style type="text/css"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><!-- </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">@import url(css/home.css); </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">--> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></style> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">.... </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></html> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">css</span>的优先级</p> <p><span style="font-size:14px;">越接近目标的样式定义优先级越高,高优先级样式将继承低优先级样式的未重叠定义但覆盖重叠的定义</span></p> <p><span style="font-size:14px;">如果<span style="font-family:'Times New Roman';">4</span>种样式表对同一元素定义了不同的样式,那么他们的优先级顺序从高到低是,元素内定,内嵌样式表,导入样式表,外联样式表。</span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">css</span>结构<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">例:<span style="font-family:'Times New Roman';">td{font-size:10.5pt;color:#666666} </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">css</span>样式包含两个基础部分,</p> <p><span style="font-size:14px;">选择符<span style="font-family:'Times New Roman';"><td></span>和声明<span style="font-family:'Times New Roman';">{font-size:10.5pt;color:#666666} </span></span></p> <p><span style="font-size:14px;">声明也有两部分组成:</span></p> <p><span style="font-size:14px;">属性<span style="font-family:'Times New Roman';">font-size,color</span>和值<span style="font-family:'Times New Roman';">10.5pt,#666666 </span></span></p> <p><span style="font-size:14px;"><strong>选择符分为<span style="font-family:'Times New Roman';">6</span>种<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">1</span>元素选择符</p> <p><span style="font-size:14px;">当页面上多个元素的样式相同时,可以将多个元素放在一起定义,中间以逗号分开例:<span style="font-family:'Times New Roman';">td,p,li,input,select{font-size:12px;} </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">2class(</span>类<span style="font-family:'Times New Roman';">)</span>选择符</p> <p><span style="font-size:14px;">例:〈<span style="font-family:'Times New Roman';">head> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><title>.....</title> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><style type="text/css"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><!-- </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">.red{font-size:10.5pt;color:#ff0000} </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">--> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></style> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><body bgcolor="#ffffff"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><p class="red"></span>士大夫井冈山地方官<span style="font-family:'Times New Roman';"></p> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><p></span>九连环离开计划<span style="font-family:'Times New Roman';"></p> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></body> </span></p> <p><span style="font-size:14px;">还有一种方法就是限定可以应用它的页面元素</span></p> <p><span style="font-size:14px;">例:〈<span style="font-family:'Times New Roman';">head> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><title>.....</title> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><style type="text/css"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><!-- </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">h1.red{color:#ff0000} </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">--> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></style> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><body bgcolor="#ffffff"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><p class="red"></span>士大夫井冈山地方官<span style="font-family:'Times New Roman';"></p> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><h1 class="red"></span>九连环离开计划<span style="font-family:'Times New Roman';"></h1> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">3 id</span>选择符</p> <p><span style="font-size:14px;">与<span style="font-family:'Times New Roman';">class</span>选择附类似,只是把<span style="font-family:'Times New Roman';">'.'</span>换成<span style="font-family:'Times New Roman';">'#' </span></span></p> <p><span style="font-size:14px;">例:<span style="font-family:'Times New Roman';"><body> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><style type="text/css"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><!-- </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">#select{font-size:18px;color:#0000ff} </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">--> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></style> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table width="250" border="1" height="50"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><tr> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><td align="center" id="select">id</span>选择符<span style="font-family:'Times New Roman';"></td> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></tr> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></table> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></html> </span></p> <p><span style="font-size:14px;">我们看到在调用<span style="font-family:'Times New Roman';">ID</span>选择附时与<span style="font-family:'Times New Roman';">CLASS</span>选择附类似,只是将<span style="font-family:'Times New Roman';">class=""</span>换成了<span style="font-family:'Times New Roman';">id=""</span>,方便页面脚本语言的调用</span></p> <p><strong><span style="font-size:14px;">关联选择符<span style="font-family:'Times New Roman';"> </span></span></strong></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><style type="text/css"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><!-- </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">td p{font-size:18px;color:#0000ff} </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">--> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></style> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table width="250" border="1" height="50"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><tr> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><td align="center"><p></span>关联选择符<span style="font-family:'Times New Roman';"></p></td> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></tr> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></table> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><p></span>关联选择符<span style="font-family:'Times New Roman';"></p> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></html> </span></p> <p><span style="font-size:14px;">我们设定了在元素中<span style="font-family:'Times New Roman';"><td></span>的元素<span style="font-family:'Times New Roman';"><p></span>所包含文字的样式,只有在两个条件都满足是,样式在会起作用,</span></p> <p><span style="font-size:14px;">伪类选择符</span></p> <p><span style="font-size:14px;">是只能用在<span style="font-family:'Times New Roman';">css</span>选择符里,而不能用在<span style="font-family:'Times New Roman';">html</span>代码中的选择符</span></p> <p><span style="font-size:14px;">例:</span></p> <p><span style="font-size:14px;">〈<span style="font-family:'Times New Roman';">html> </span> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><style type="text/css"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><!-- </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">a:link{color:#000000} </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">a:visited{color:#cccccc} </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">a:hover{color:#ff0000} </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">a:active{color:#ooooff} </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">--> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></style> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><p><a href="#"></span>关联选择符<span style="font-family:'Times New Roman';"></a><p> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><p><a href="#"></span>关联选择符<span style="font-family:'Times New Roman';"></a><p> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><p><a href="#"></span>关联选择符<span style="font-family:'Times New Roman';"></a><p> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><p><a href="#"></span>关联选择符<span style="font-family:'Times New Roman';"></a><p> </span></p> <p><span style="font-size:14px;">〈<span style="font-family:'Times New Roman';">/body> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></html> </span></p> <p><span style="font-size:14px;">正确的顺序是<span style="font-family:'Times New Roman';">a:link\a:visited\a:hover</span>否则会引起页面上连接颜色混乱</span></p> <p><strong><span style="font-size:14px;">伪元素选择符<span style="font-family:'Times New Roman';"> </span></span></strong></p> <p><span style="font-size:14px;">与伪类选择符定义类似,目前被大多数浏览器支持的有两个:首行伪元素(<span style="font-family:'Times New Roman';">first-line</span>)和首字符伪元素<span style="font-family:'Times New Roman';">(first-letter)</span>是用来实现首行大写和首行下沉效果的</span></p> <p><span style="font-size:14px;">例:首行</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><html> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><style> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><!-- </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">p:first-line{color:red;font-size:20pt} </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">--> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></style> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></hesd> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><p>dfgsadfgsdfgsdfgsdfgsdfgsdfgsdfgsdfgsdfgsdf...</p> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></html> </span></p> <p><span style="font-size:14px;">长度随浏览器窗口大小而改变</span></p> <p><span style="font-size:14px;">首字</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><html> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><style> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><!-- </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">p:first-letter{color:red;font-size:50pt;float:left;} </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">--> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></style> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></hesd> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><p>dfgsadfgsdfgsdfgsdfgsdfgsdfgsdfgsdfgsdfgsdf...</p> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></html> </span></p> <p><span style="font-size:14px;">以上两种都只能应用于块状元素上</span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">css</span>规则<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">1.</span>继承<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">例:<span style="font-family:'Times New Roman';"><html> </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><style type="text/css"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><!-- </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">td{font-size:12pt} </span> </p> <p><span style="font-family:'Times New Roman';font-size:14px;">p{color:red} </span> </p> <p><span style="font-family:'Times New Roman';font-size:14px;">--> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></style> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></hesd> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table width="300" border="1" height="150"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><tr> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><td align="center"> </span> </p> <p><span style="font-family:'Times New Roman';font-size:14px;"><p>css</span>规则<span style="font-family:'Times New Roman';"></p> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></td> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></table> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></html> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><p></span>为最高级<span style="font-family:'Times New Roman';"><td></span>次一级两种<span style="font-family:'Times New Roman';">css</span>用在一个属性元素上,相同的覆盖,不同的继承,</p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">2.</span>组合<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">例<span style="font-family:'Times New Roman';">:td{font-size:12pt} </span></span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">p1{font-size:12pt} </span> </p> <p><span style="font-size:14px;">组合后</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">td,.p1{font-size:12pt} </span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">3.</span>层叠<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">在样式里定义过后,在表格属性中又定义一次</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><html> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><head> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><style type="text/css"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><!-- </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">red{color:#ff0000 limportant} </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">--> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></style> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></hesd> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><table width="300" border="1" height="150"> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><tr> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><td align="center" style="color:#0000ff" class="red"></span>决撒地方官<span style="font-family:'Times New Roman';"></td> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></tr> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></table> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></body> </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"></html> </span></p> <p><span style="font-size:14px;"><strong><span style="font-family:'Times New Roman';">css</span>单位<span style="font-family:'Times New Roman';"> </span></strong></span></p> <p><span style="font-size:14px;">分四大类:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">1 </span>长度单位</p> <p><span style="font-size:14px;">数值可以是整数,小数,正数,负数,<span style="font-family:'Times New Roman';">0</span>,后加单位(负值不要轻易使用)</span></p> <p><span style="font-size:14px;">换算关系:</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">1in(</span>英寸<span style="font-family:'Times New Roman';">)=6pc(</span>派<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">1in(</span>英寸<span style="font-family:'Times New Roman';">)=72pt(</span>磅<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">1in(</span>英寸<span style="font-family:'Times New Roman';">)=2.54(</span>厘米<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">1cm(</span>厘米<span style="font-family:'Times New Roman';">)=10mm(</span>毫米<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">1cm(</span>厘米<span style="font-family:'Times New Roman';">)=0.3937(</span>英寸<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">1pt(</span>磅<span style="font-family:'Times New Roman';">)=1/72in(</span>英寸<span style="font-family:'Times New Roman';">)=0.2478mm(</span>毫米<span style="font-family:'Times New Roman';">) </span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">1pc(</span>派<span style="font-family:'Times New Roman';">)=1/6in(</span>英寸<span style="font-family:'Times New Roman';">)=</span>我国新四号铅字的尺寸</p> <p><span style="font-family:'Times New Roman';font-size:14px;">2 </span>百分比单位</p> <p><span style="font-family:'Times New Roman';font-size:14px;">3 </span>颜色单位</p> <p><span style="font-family:'Times New Roman';font-size:14px;">4 url</span>单位</p> <p><span style="font-family:'Times New Roman';font-size:14px;">div</span>属性</p> <p><span style="font-family:'Times New Roman';font-size:14px;">color : #999999   </span> 文字颜色</p> <p><span style="font-family:'Times New Roman';font-size:14px;">font-family : </span> 宋体文字字型</p> <p><span style="font-family:'Times New Roman';font-size:14px;">font-size : 10pt </span> 文字大小</p> <p><span style="font-family:'Times New Roman';font-size:14px;">font-style:itelic </span> 文字斜体育</p> <p><span style="font-family:'Times New Roman';font-size:14px;">font-variant:small-caps </span>小字体</p> <p><span style="font-family:'Times New Roman';font-size:14px;">letter-spacing : 1pt </span>文字间距</p> <p><span style="font-family:'Times New Roman';font-size:14px;">line-height : 200% </span> 设定行高</p> <p><span style="font-family:'Times New Roman';font-size:14px;">font-weight:bold </span> 文字粗体</p> <p><span style="font-family:'Times New Roman';font-size:14px;">vertical-align:sub </span> 下标字</p> <p><span style="font-family:'Times New Roman';font-size:14px;">vertical-align:super </span>上标字</p> <p><span style="font-family:'Times New Roman';font-size:14px;">text-decoration:line-through </span>加<span style="font-family:'Times New Roman';">?h</span>除线</p> <p><span style="font-family:'Times New Roman';font-size:14px;">text-decoration:overline </span>加顶线</p> <p><span style="font-family:'Times New Roman';font-size:14px;">text-decoration:underline </span>加底线</p> <p><span style="font-family:'Times New Roman';font-size:14px;">text-decoration:none ?h</span>除连接底线</p> <p><span style="font-family:'Times New Roman';font-size:14px;">text-transform : capitalize </span>首字大写</p> <p><span style="font-family:'Times New Roman';font-size:14px;">text-transform : uppercase </span>英文大写</p> <p><span style="font-family:'Times New Roman';font-size:14px;">text-transform : lowercase </span>英文写</p> <p><span style="font-family:'Times New Roman';font-size:14px;">text-align:right </span> 文字<span style="font-family:'Times New Roman';">*</span>右对齐</p> <p><span style="font-family:'Times New Roman';font-size:14px;">text-align:left </span> 文字<span style="font-family:'Times New Roman';">*</span>左对齐</p> <p><span style="font-family:'Times New Roman';font-size:14px;">text-align:center </span> 文字置中对齐</p> <p><span style="font-size:14px;">这些是一些简单的文字效果,可以应用到<span style="font-family:'Times New Roman';">css</span>的页面中。 </span></p> <p><strong><span style="font-size:14px;">背景</span></strong></p> <p><span style="font-family:'Times New Roman';font-size:14px;">background-color:black </span>背景颜色</p> <p><span style="font-family:'Times New Roman';font-size:14px;">background-image : url(image/bg.gif) </span>背景图片</p> <p><span style="font-family:'Times New Roman';font-size:14px;">background-attachment : fixed </span>固定背景</p> <p><span style="font-family:'Times New Roman';font-size:14px;">background-repeat : repeat </span>重复排列<span style="font-family:'Times New Roman';">-</span>网页预设</p> <p><span style="font-family:'Times New Roman';font-size:14px;">background-repeat : no-repeat </span>不重复排列</p> <p><span style="font-family:'Times New Roman';font-size:14px;">background-repeat : repeat-x </span>在<span style="font-family:'Times New Roman';">x</span>轴重复排列</p> <p><span style="font-family:'Times New Roman';font-size:14px;">background-repeat : repeat-y </span>在<span style="font-family:'Times New Roman';">y</span>轴重复排列</p> <p><span style="font-family:'Times New Roman';font-size:14px;">background-position : 90% 90% </span>背景图片<span style="font-family:'Times New Roman';">x</span>与<span style="font-family:'Times New Roman';">y</span>轴的位置 </p> <p><strong><span style="font-size:14px;">链接</span></strong></p> <p><span style="font-family:'Times New Roman';font-size:14px;">A </span>所有超连接</p> <p><span style="font-family:'Times New Roman';font-size:14px;">A:link </span>超连接文字格式</p> <p><span style="font-family:'Times New Roman';font-size:14px;">A:visited </span>浏览过的连接文字格式</p> <p><span style="font-family:'Times New Roman';font-size:14px;">A:active </span>按下连接的格式</p> <p><span style="font-family:'Times New Roman';font-size:14px;">A:hover </span>鼠标移至连接</p> <p><span style="font-size:14px;">边框</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;">border-top : 1px solid black </span>上框</p> <p><span style="font-family:'Times New Roman';font-size:14px;">border-bottom : 1px solid #6699cc </span>下框</p> <p><span style="font-family:'Times New Roman';font-size:14px;">border-left : 1px solid #6699cc </span>左框</p> <p><span style="font-family:'Times New Roman';font-size:14px;">border-right : 1px solid #6699cc </span>右框</p> <p><span style="font-family:'Times New Roman';font-size:14px;">border: 1px solid #6699cc </span>四边框</p> <p><span style="font-size:14px;">虚线</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TEXTAREA STYLE="border:1px dashed pink"></span></p> <p><span style="font-size:14px;">实线</span></p> <p><span style="font-family:'Times New Roman';font-size:14px;"><TEXTAREA STYLE="border:1px solid pink"></span></p> </div> </div> </div> </div> </div> <!--PC和WAP自适应版--> <div id="SOHUCS" sid="1281726295880777728"></div> <script type="text/javascript" src="/views/front/js/chanyan.js"></script> <!-- 文章页-底部 动态广告位 --> <div class="youdao-fixed-ad" id="detail_ad_bottom"></div> </div> <div class="col-md-3"> <div class="row" id="ad"> <!-- 文章页-右侧1 动态广告位 --> <div id="right-1" class="col-lg-12 col-md-12 col-sm-4 col-xs-4 ad"> <div class="youdao-fixed-ad" id="detail_ad_1"> </div> </div> <!-- 文章页-右侧2 动态广告位 --> <div id="right-2" class="col-lg-12 col-md-12 col-sm-4 col-xs-4 ad"> <div class="youdao-fixed-ad" id="detail_ad_2"></div> </div> <!-- 文章页-右侧3 动态广告位 --> <div id="right-3" class="col-lg-12 col-md-12 col-sm-4 col-xs-4 ad"> <div class="youdao-fixed-ad" id="detail_ad_3"></div> </div> </div> </div> </div> </div> </div> <div class="container"> <h4 class="pt20 mb15 mt0 border-top">你可能感兴趣的:(html标签属性大全)</h4> <div id="paradigm-article-related"> <div class="recommend-post mb30"> <ul class="widget-links"> <li><a href="/article/1835513699826233344.htm" title="android系统selinux中添加新属性property" target="_blank">android系统selinux中添加新属性property</a> <span class="text-muted">辉色投像</span> <div>1.定位/android/system/sepolicy/private/property_contexts声明属性开头:persist.charge声明属性类型:u:object_r:system_prop:s0图12.定位到android/system/sepolicy/public/domain.te删除neverallow{domain-init}default_prop:property</div> </li> <li><a href="/article/1835513551142350848.htm" title="OC语言多界面传值五大方式" target="_blank">OC语言多界面传值五大方式</a> <span class="text-muted">Magnetic_h</span> <a class="tag" taget="_blank" href="/search/ios/1.htm">ios</a><a class="tag" taget="_blank" href="/search/ui/1.htm">ui</a><a class="tag" taget="_blank" href="/search/%E5%AD%A6%E4%B9%A0/1.htm">学习</a><a class="tag" taget="_blank" href="/search/objective-c/1.htm">objective-c</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>前言在完成暑假仿写项目时,遇到了许多需要用到多界面传值的地方,这篇博客来总结一下比较常用的五种多界面传值的方式。属性传值属性传值一般用前一个界面向后一个界面传值,简单地说就是通过访问后一个视图控制器的属性来为它赋值,通过这个属性来做到从前一个界面向后一个界面传值。首先在后一个界面中定义属性@interfaceBViewController:UIViewController@propertyNSSt</div> </li> <li><a href="/article/1835504217729626112.htm" title="Python教程:一文了解使用Python处理XPath" target="_blank">Python教程:一文了解使用Python处理XPath</a> <span class="text-muted">旦莫</span> <a class="tag" taget="_blank" href="/search/Python%E8%BF%9B%E9%98%B6/1.htm">Python进阶</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>目录1.环境准备1.1安装lxml1.2验证安装2.XPath基础2.1什么是XPath?2.2XPath语法2.3示例XML文档3.使用lxml解析XML3.1解析XML文档3.2查看解析结果4.XPath查询4.1基本路径查询4.2使用属性查询4.3查询多个节点5.XPath的高级用法5.1使用逻辑运算符5.2使用函数6.实战案例6.1从网页抓取数据6.1.1安装Requests库6.1.2代</div> </li> <li><a href="/article/1835493626688401408.htm" title="Python快速入门 —— 第三节:类与对象" target="_blank">Python快速入门 —— 第三节:类与对象</a> <span class="text-muted">孤华暗香</span> <a class="tag" taget="_blank" href="/search/Python%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8/1.htm">Python快速入门</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>第三节:类与对象目标:了解面向对象编程的基础概念,并学会如何定义类和创建对象。内容:类与对象:定义类:class关键字。类的构造函数:__init__()。类的属性和方法。对象的创建与使用。示例:classStudent:def__init__(self,name,age,major):self.name&#</div> </li> <li><a href="/article/1835490218845761536.htm" title="Python爬虫解析工具之xpath使用详解" target="_blank">Python爬虫解析工具之xpath使用详解</a> <span class="text-muted">eqa11</span> <a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/%E7%88%AC%E8%99%AB/1.htm">爬虫</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>文章目录Python爬虫解析工具之xpath使用详解一、引言二、环境准备1、插件安装2、依赖库安装三、xpath语法详解1、路径表达式2、通配符3、谓语4、常用函数四、xpath在Python代码中的使用1、文档树的创建2、使用xpath表达式3、获取元素内容和属性五、总结Python爬虫解析工具之xpath使用详解一、引言在Python爬虫开发中,数据提取是一个至关重要的环节。xpath作为一门</div> </li> <li><a href="/article/1835489460372992000.htm" title="【PG】常见数据库、表属性设置" target="_blank">【PG】常见数据库、表属性设置</a> <span class="text-muted">江无羡</span> <a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E5%BA%93/1.htm">数据库</a> <div>PG的常见属性配置方法数据库复制、备份相关表的复制标识单表操作批量表操作链接数据库复制、备份相关表的复制标识单表操作通过ALTER语句单独更改一张表的复制标识。ALTERTABLE[tablename]REPLICAIDENTITYFULL;批量表操作通过代码块的方式,对某个schema中的所有表一起更新其复制标识。SELECTtablename,CASErelreplidentWHEN'd'TH</div> </li> <li><a href="/article/1835461728423473152.htm" title="第1步win10宿主机与虚拟机通过NAT共享上网互通" target="_blank">第1步win10宿主机与虚拟机通过NAT共享上网互通</a> <span class="text-muted">学习3人组</span> <a class="tag" taget="_blank" href="/search/%E5%A4%A7%E6%95%B0%E6%8D%AE/1.htm">大数据</a><a class="tag" taget="_blank" href="/search/%E5%A4%A7%E6%95%B0%E6%8D%AE/1.htm">大数据</a> <div>VM的CentOS采用NAT共用宿主机网卡宿主机器无法连接到虚拟CentOS要实现宿主机与虚拟机通信,原理就是给宿主机的网卡配置一个与虚拟机网关相同网段的IP地址,实现可以互通。1、查看虚拟机的IP地址2、编辑虚拟机的虚拟网络的NAT和DHCP的配置,设置虚拟机的网卡选择NAT共享模式3、宿主机的IP配置,确保vnet8的IPV4属性与虚拟机在同一网段4、ping测试连通性[root@localh</div> </li> <li><a href="/article/1835432854327226368.htm" title="2024春节微信红包封面序列号大全一览" target="_blank">2024春节微信红包封面序列号大全一览</a> <span class="text-muted">帮忙赚赏金</span> <div>2024微信红包封面序列号哪里领取红包封面领取微信搜索公众号:【艺间封面】千万红包封面等你领取2024微信红包封面免费序列号如何设置微信红包封面?1.打开微信,点击好友选择红包。2.单击红包封面。3.单击“添加红包封面”。4.输入接收序列号。来一波免费的微信红包封面序列号微信红包封面序列号红包封面领取微信搜索公众号:艺间封面千万红包封面等你领取微信红包封面序列号kGnkrbw5a7N微信红包封面序</div> </li> <li><a href="/article/1835428948339683328.htm" title="JavaScript `Map` 和 `WeakMap`详细解释" target="_blank">JavaScript `Map` 和 `WeakMap`详细解释</a> <span class="text-muted">跳房子的前端</span> <a class="tag" taget="_blank" href="/search/JavaScript/1.htm">JavaScript</a><a class="tag" taget="_blank" href="/search/%E5%8E%9F%E7%94%9F%E6%96%B9%E6%B3%95/1.htm">原生方法</a><a class="tag" taget="_blank" href="/search/javascript/1.htm">javascript</a><a class="tag" taget="_blank" href="/search/%E5%89%8D%E7%AB%AF/1.htm">前端</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>在JavaScript中,Map和WeakMap都是用于存储键值对的数据结构,但它们有一些关键的不同之处。MapMap是一种可以存储任意类型的键值对的集合。它保持了键值对的插入顺序,并且可以通过键快速查找对应的值。Map提供了一些非常有用的方法和属性来操作这些数据对:set(key,value):将一个键值对添加到Map中。如果键已经存在,则更新其对应的值。get(key):获取指定键的值。如果键</div> </li> <li><a href="/article/1835414575906910208.htm" title="Python编程 - 初识面向对象" target="_blank">Python编程 - 初识面向对象</a> <span class="text-muted">易辰君</span> <a class="tag" taget="_blank" href="/search/Python%E6%A0%B8%E5%BF%83%E7%BC%96%E7%A8%8B/1.htm">Python核心编程</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>目录前言一、面向对象二、类和对象(一)类简介定义类(二)对象简介创建对象(三)总结三、实例属性和实例方法(一)实例属性创建的基本语法使用示例(二)实例方法定义实例方法的基本语法调用示例方法的示例(三)总结四、类中的self(一)基本概念(二)作用访问实例属性调用其他实例方法在构造函数中初始化对象(三)总结五、__init__方法(一)__init__方法的特点(二)基本语法(三)示例(四)总结前言</div> </li> <li><a href="/article/1835412764722556928.htm" title="Android实现监听事件的方法" target="_blank">Android实现监听事件的方法</a> <span class="text-muted">Amy木婉清</span> <div>1.通过内部类实现2.通过匿名内部类实现3.通过事件源所在类实现4.通过外部类实现5.布局文件中onclick属性(针对点击事件)1.通过内部类实现代码:privateButtonmBtnEvent;//oncreate中mBtnEvent.setOnClickListener(newOnClick());//内部类实现监听classOnClickimplementsView.OnClickLis</div> </li> <li><a href="/article/1835406671795548160.htm" title="连环画中的冷门绝技:汉代宝藏“画像石”的神奇搬运(高清)" target="_blank">连环画中的冷门绝技:汉代宝藏“画像石”的神奇搬运(高清)</a> <span class="text-muted">江户川小歪</span> <div>虽然连环画只有巴掌大小,但是打开它,你会发现一座中国美术技法的宝库。单线白描是大家最熟悉不过了的,还有工笔重彩、黑白色块、素描、版画、剪纸等种种技术百花齐放。从80年代开始,画家们各显神通,做了诸多尝试,以至于达到了“万法皆为我用”的境界。今天我来说说一种冷门的美术——汉画像石。汉画像石是个什么东西?古时候,王族、有钱人会在墓穴的石头、砖头上绘制一些图案,这些东西有雕刻和绘画的双属性,在美术形式上</div> </li> <li><a href="/article/1835397273815707648.htm" title="靠谱的海淘APP大全 可以海淘的软件有哪些" target="_blank">靠谱的海淘APP大全 可以海淘的软件有哪些</a> <span class="text-muted">氧惠评测</span> <div>96KaiFa为您整理了可以海淘的软件有哪些,分别有海淘、ZOZO日本海淘、海淘铺、美芽海淘、海淘1号海外购、高乐高海淘、海淘美瞳、海淘返利网、海淘拼单、豌豆公主海淘,下面一起来看靠谱的海淘APP大全吧!购物、看电影、点外卖、用氧惠APP!更优惠!氧惠(全网优惠上氧惠)——是与以往完全不同的抖客+淘客app!2023全新模式,我的直推也会放到你下面,送1:1超级补贴(邀请好友自购多少,你就推广得多</div> </li> <li><a href="/article/1835383919906746368.htm" title="高性能javascript--算法和流程控制" target="_blank">高性能javascript--算法和流程控制</a> <span class="text-muted">海淀萌狗</span> <div>-for,while和do-while性能相当-避免使用for-in循环,==除非遍历一个属性量未知的对象==es5:for-in遍历的对象便不局限于数组,还可以遍历对象。原因:for-in每次迭代操作会同时搜索实例或者原型属性,for-in循环的每次迭代都会产生更多开销,因此要比其他循环类型慢,一般速度为其他类型循环的1/7。因此,除非明确需要迭代一个属性数量未知的对象,否则应避免使用for-i</div> </li> <li><a href="/article/1835376505543290880.htm" title="css设置当字数超过限制后以省略号(...)显示" target="_blank">css设置当字数超过限制后以省略号(...)显示</a> <span class="text-muted">周bro</span> <a class="tag" taget="_blank" href="/search/css/1.htm">css</a><a class="tag" taget="_blank" href="/search/%E5%89%8D%E7%AB%AF/1.htm">前端</a><a class="tag" taget="_blank" href="/search/vue/1.htm">vue</a><a class="tag" taget="_blank" href="/search/css3/1.htm">css3</a><a class="tag" taget="_blank" href="/search/html/1.htm">html</a><a class="tag" taget="_blank" href="/search/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/1.htm">经验分享</a> <div>1、文字超出一行,省略超出部分,显示’…’用text-overflow:ellipsis属性来,当然还需要加宽度width属来兼容部分浏览。overflow:hidden;text-overflow:ellipsis;white-space:nowrap;2、多行文本溢出显示省略号display:-webkit-box;-webkit-box-orient:vertical;-webkit-lin</div> </li> <li><a href="/article/1835373236217540608.htm" title="360前端星计划-动画可以这么玩" target="_blank">360前端星计划-动画可以这么玩</a> <span class="text-muted">马小蜗</span> <div>动画的基本原理定时器改变对象的属性根据新的属性重新渲染动画functionupdate(context){//更新属性}constticker=newTicker();ticker.tick(update,context);动画的种类1、JavaScript动画操作DOMCanvas2、CSS动画transitionanimation3、SVG动画SMILJS动画的优缺点优点:灵活度、可控性、性能</div> </li> <li><a href="/article/1835369569800253440.htm" title="史上最全git命令,git回滚,git命令大全" target="_blank">史上最全git命令,git回滚,git命令大全</a> <span class="text-muted">騒周</span> <a class="tag" taget="_blank" href="/search/%E5%85%B6%E4%BB%96/1.htm">其他</a><a class="tag" taget="_blank" href="/search/git/1.htm">git</a> <div>git命令大全一、Git整体理解二、由暂存区本地仓库三、由本地仓->远程仓库四、冲突处理五、Git分支操作六、bug的分支七、feature分支八、暂存的使用九、远程仓的操作十、标签的使用十一、Git配置全局信息十二、Linux的一些简单操作和一些符号的解释十三、符号解释十四、显示安装详细信息十五、gitconfig十六、Gitclone十七、Gitinit十八、gitstatus十九、gitre</div> </li> <li><a href="/article/1835350289310380032.htm" title="氧券邀请码是多少(最新app邀请码大全及填写步骤讲解)带你玩转" target="_blank">氧券邀请码是多少(最新app邀请码大全及填写步骤讲解)带你玩转</a> <span class="text-muted">日常购物小技巧</span> <div>一、氧券邀请码填什么填多少1、氧券邀请码填写:999999,这样可以获得高级合伙人,高佣金二、怎么才能有氧券邀请码氧券APP是淘宝天猫京东…全网优惠券+返利的搬运工,自购省钱,分享挣钱!注册氧券是必须要填写邀请码的,没有邀请码不能注册。1、填写上面邀请码注册,自己也会升级为高级合伙人,拥有自己的氧券邀请码2、会员自己购物可享受返佣,可以分享赚钱获得佣金三、氧券会员注册怎么弄1、手机下载氧券APP后</div> </li> <li><a href="/article/1835340198850949120.htm" title="15-自编写rtos-结合stm32实际调试(ladylolo-os)" target="_blank">15-自编写rtos-结合stm32实际调试(ladylolo-os)</a> <span class="text-muted">Ladylolo-lsm</span> <a class="tag" taget="_blank" href="/search/stm32/1.htm">stm32</a><a class="tag" taget="_blank" href="/search/%E5%B5%8C%E5%85%A5%E5%BC%8F%E7%A1%AC%E4%BB%B6/1.htm">嵌入式硬件</a><a class="tag" taget="_blank" href="/search/%E5%8D%95%E7%89%87%E6%9C%BA/1.htm">单片机</a> <div>一、任务调度:1.理解:任务切换,用堆栈指针SP保存即将要切换的任务的前后文,然后是用PendSV来执行这些操作的;由于是基于优先级的调度策略,所以每次“心跳”都会看有没有优先级更高的出现,如果有就用PendSV进行上下文切换。2.编写部分:①每个任务自己的属性统称为TCB任务控制块。②任务就绪表有设置优先级(设置的时候变量或上优先级的变量让某个位数等于1),从任务就绪表中删除(删除时用与来得等于</div> </li> <li><a href="/article/1835303809182691328.htm" title="一日一神兽(第一集)" target="_blank">一日一神兽(第一集)</a> <span class="text-muted">yrfrds</span> <div>今年我的神兽会是什么呢?唉,别胡思乱想了,根本没有神兽,可是我睁眼一看,看见了一只梅花鹿,外部特点是:一大部分树木梅花鹿的部分背上长一对翅膀。属性是综合属性,这不可能的吧?我又揉了揉了眼睛,一看还是那只神兽哇,居然用神兽了,我找找东西,看看哪一块部分适合收他,找了一会儿,我找到了嗯,一个小方块儿我觉得这个很适合她我说收她被吸到了方块儿哩哈哈,我竟然用神兽了哈哈,现在我无人能敌了上完学校下午放学的时</div> </li> <li><a href="/article/1835301010743062528.htm" title="小程序通过js控制页面字体颜色属性" target="_blank">小程序通过js控制页面字体颜色属性</a> <span class="text-muted">祈澈菇凉</span> <div>需求:当电量少于百分之20的时候,显示电量的字体显示为红色。1:在wxml里面设置属性batStyle:style="{{item.batStyle}}"电量:{{item.battery}}%2:当复合逻辑条件的时候,在js里面carList[i].batStyle="color:red";success:function(res){constcarList=res.data.list;for(</div> </li> <li><a href="/article/1835295766747377664.htm" title="C# 开发教程-入门基础" target="_blank">C# 开发教程-入门基础</a> <span class="text-muted">天马3798</span> <a class="tag" taget="_blank" href="/search/%E6%95%99%E7%A8%8B%E7%B3%BB%E5%88%97%E6%95%B4%E7%90%86/1.htm">教程系列整理</a><a class="tag" taget="_blank" href="/search/c%23/1.htm">c#</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>1.C#简介、环境,程序结构2.C#基本语法,变量,控制局域,数据类型,类型转换3.C#数组、循环,Linq4.C#类,封装,方法5.C#枚举、字符串6.C#面相对象,继承,封装,多态7.C#特性、属性、反射、索引器8.C#委托,事件,集合,泛型9.C#匿名方法10.C#多线程更多:JQuery开发教程入门基础Vue开发基础入门教程Vue开发高级学习教程</div> </li> <li><a href="/article/1835290475628687360.htm" title="若依后端正常启动但是uniapp移动端提示后端接口异常" target="_blank">若依后端正常启动但是uniapp移动端提示后端接口异常</a> <span class="text-muted">大可大可抖</span> <a class="tag" taget="_blank" href="/search/uni-app/1.htm">uni-app</a> <div>pc端能用模拟器也能正常连接接口,手机端真机调试连不上接口解决:1.先看config.js的填自己的ip地址module.exports={//baseUrl:'https://vue.ruoyi.vip/prod-api',baseUrl:"http://192.168.101.5:8080",}2.网络环境问题(防火墙)点击属性然后选择专用</div> </li> <li><a href="/article/1835285180512825344.htm" title="Lombok:Java开发者的代码简化神器【后端 17】" target="_blank">Lombok:Java开发者的代码简化神器【后端 17】</a> <span class="text-muted">终末圆</span> <a class="tag" taget="_blank" href="/search/Java%E5%90%8E%E7%AB%AF/1.htm">Java后端</a><a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a><a class="tag" taget="_blank" href="/search/mysql/1.htm">mysql</a><a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E5%BA%93/1.htm">数据库</a><a class="tag" taget="_blank" href="/search/%E5%90%8E%E7%AB%AF/1.htm">后端</a><a class="tag" taget="_blank" href="/search/spring/1.htm">spring</a><a class="tag" taget="_blank" href="/search/boot/1.htm">boot</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a> <div>Lombok:Java开发者的代码简化神器在Java开发中,我们经常需要编写大量的样板代码,如getter、setter、equals、hashCode、toString等方法。这些代码虽然基础且必要,但往往占据了大量开发时间,且容易在属性变更时引发错误。幸运的是,Lombok这个Java库通过注解的方式,为我们提供了一种高效的解决方案。本文将详细介绍Lombok的使用及其优势。什么是Lombok</div> </li> <li><a href="/article/1835284370089406464.htm" title="2018-08-16【Swift 4.1】 关于Swift4.0以后调用MJExtension无法模型转换问题" target="_blank">2018-08-16【Swift 4.1】 关于Swift4.0以后调用MJExtension无法模型转换问题</a> <span class="text-muted">码农happy</span> <div>1、本人使用swift4.1,弄了一晚上才弄好,结果还是一个小问题真是尴尬,要在model中每个属性前面加上@objcimportUIKitclassUserModel:NSObject{@objcvardix=String()}letdic=["dix":"ffffff"]asNSDictionaryletmodel=UserModel.mj_object(withKeyValues:dic)!</div> </li> <li><a href="/article/1835268549149552640.htm" title="java的四个层级结构" target="_blank">java的四个层级结构</a> <span class="text-muted">活跃家族</span> <a class="tag" taget="_blank" href="/search/JAVA/1.htm">JAVA</a> <div>java的四个层级结构首先,最底层的就是dto层,dto层就是所谓的model,dto中定义的是实体类,也就是.class文件,该文件中包含实体类的属性和对应属性的get、set方法;其次,是dao层(dao层的文件习惯以*Mapper命名),dao层会调用dto层,dao层中会定义实际使用到的方法,比如增删改查。一般在dao层下还会有个叫做sqlmap的包,该包下有xml文件,文件内容正是根据之</div> </li> <li><a href="/article/1835258583235784704.htm" title="HTML中"bgcolor"与"background-color"的区别" target="_blank">HTML中"bgcolor"与"background-color"的区别</a> <span class="text-muted">Sardar_</span> <a class="tag" taget="_blank" href="/search/html/1.htm">html</a> <div>bgcolor只是标签属性,而backgroud更多作为css的样式属性。它们俩大多数情况下效果完全相同。但在标签下效果不同。不支持bgcolor属性,只能用style标签添加CSS样式。作为table的属性而言:HelloWorld!和HelloWorld!效果完全相同。作为body属性而言:效果完全相同。不过个人推荐统一用CSS样式进行控制,把style统一放到.css文件中。backgrou</div> </li> <li><a href="/article/1835256693479534592.htm" title="JS的输出语句" target="_blank">JS的输出语句</a> <span class="text-muted">3259392566</span> <a class="tag" taget="_blank" href="/search/java%E6%80%BB%E7%BB%93%E7%AC%94%E8%AE%B0/1.htm">java总结笔记</a><a class="tag" taget="_blank" href="/search/java%E7%9A%84%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B/1.htm">java的数据类型</a><a class="tag" taget="_blank" href="/search/%E5%9F%BA%E7%A1%80%E6%80%BB%E7%BB%93/1.htm">基础总结</a><a class="tag" taget="_blank" href="/search/javascript/1.htm">javascript</a><a class="tag" taget="_blank" href="/search/%E5%89%8D%E7%AB%AF/1.htm">前端</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a> <div>1.//1.提示浏览器弹出一个警示框alert('你好呀!!!2109秋')//2.让计算机在页面输出一个内容//document.write()向body里面输出一个内容document.write('你好呀!!!金科')//3.向控制台输出一个内容console.log('你猜我在哪里?');2.JS的代码编写的位置①我们可以将js的代码编写道标签onclick属性中,当我们点击代码时,js代</div> </li> <li><a href="/article/1835247118126772224.htm" title="linux open详解,Linux系统open函数详解" target="_blank">linux open详解,Linux系统open函数详解</a> <span class="text-muted">墨剑心</span> <a class="tag" taget="_blank" href="/search/linux/1.htm">linux</a><a class="tag" taget="_blank" href="/search/open%E8%AF%A6%E8%A7%A3/1.htm">open详解</a> <div>Linux系统中open函数主要作用就是打开和创建文件,可以根据参数来定制我们需要的文件的属性和用户权限等各种参数,下面良许教程网为大家分享一下Linux系统open函数具体使用方法。一、open函数用来干什么open函数在Linux下一般用来打开或者创建一个文件,我们可以根据参数来定制我们需要的文件的属性和用户权限等各种参数。二、open函数的定义和参数我们首先来看下open函数在Linux下的</div> </li> <li><a href="/article/1835239843370725376.htm" title="破解游戏app哪个好用 无限99999钻999999金币的游戏盒子排行榜" target="_blank">破解游戏app哪个好用 无限99999钻999999金币的游戏盒子排行榜</a> <span class="text-muted">诸葛村夫123</span> <div>2024游戏盒子网站排行榜大全随着数位科技的发展,2024年手游市场持续火爆,各种新开手游持续涌现。本文为广大手游爱好者带来巅峰推荐,总结五个最具实力的手游新服发布网站,为您提供最全面的游戏资讯以及专业的游戏攻略。▶无限99999钻999999金币的游戏盒子排行榜TOP1:游戏豹官网特点:内部特权游戏类型:多类型推荐日活跃人数:15万网址链接:www.ystt88.cn游戏介绍:游戏豹官网以快速获</div> </li> <li><a href="/article/88.htm" title="ztree设置禁用节点" target="_blank">ztree设置禁用节点</a> <span class="text-muted">3213213333332132</span> <a class="tag" taget="_blank" href="/search/JavaScript/1.htm">JavaScript</a><a class="tag" taget="_blank" href="/search/ztree/1.htm">ztree</a><a class="tag" taget="_blank" href="/search/json/1.htm">json</a><a class="tag" taget="_blank" href="/search/setDisabledNode/1.htm">setDisabledNode</a><a class="tag" taget="_blank" href="/search/Ajax/1.htm">Ajax</a> <div>ztree设置禁用节点的时候注意,当使用ajax后台请求数据,必须要设置为同步获取数据,否者会获取不到节点对象,导致设置禁用没有效果。 $(function(){ showTree(); setDisabledNode(); }); </div> </li> <li><a href="/article/215.htm" title="JVM patch by Taobao" target="_blank">JVM patch by Taobao</a> <span class="text-muted">bookjovi</span> <a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/HotSpot/1.htm">HotSpot</a> <div>在网上无意中看到淘宝提交的hotspot patch,共四个,有意思,记录一下。 &nbsp; 7050685:jsdbproc64.sh has a typo in the package name 7058036:FieldsAllocationStyle=2 does not work in 32-bit VM 7060619:C1 should respect inline and</div> </li> <li><a href="/article/342.htm" title="将session存储到数据库中" target="_blank">将session存储到数据库中</a> <span class="text-muted">dcj3sjt126com</span> <a class="tag" taget="_blank" href="/search/sql/1.htm">sql</a><a class="tag" taget="_blank" href="/search/PHP/1.htm">PHP</a><a class="tag" taget="_blank" href="/search/session/1.htm">session</a> <div>CREATE TABLE sessions ( id CHAR(32) NOT NULL, data TEXT, last_accessed TIMESTAMP NOT NULL, PRIMARY KEY (id) ); &nbsp; &lt;?php /** * Created by PhpStorm. * User: michaeldu * Date</div> </li> <li><a href="/article/469.htm" title="Vector" target="_blank">Vector</a> <span class="text-muted">171815164</span> <a class="tag" taget="_blank" href="/search/vector/1.htm">vector</a> <div>public Vector&lt;CartProduct&gt; delCart(Vector&lt;CartProduct&gt; cart, String id) { for (int i = 0; i &lt; cart.size(); i++) { if (cart.get(i).getId().equals(id)) { cart.remove(i); </div> </li> <li><a href="/article/596.htm" title="各连接池配置参数比较" target="_blank">各连接池配置参数比较</a> <span class="text-muted">g21121</span> <a class="tag" taget="_blank" href="/search/%E8%BF%9E%E6%8E%A5%E6%B1%A0/1.htm">连接池</a> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 排版真心费劲,大家凑合看下吧,见谅~ &nbsp; &nbsp; Druid DBCP C3P0 Proxool 数据库用户名称 Username Username User &nbsp; 数据库密码 Password Password Password &nbsp; 驱动名</div> </li> <li><a href="/article/723.htm" title="[简单]mybatis insert语句添加动态字段" target="_blank">[简单]mybatis insert语句添加动态字段</a> <span class="text-muted">53873039oycg</span> <a class="tag" taget="_blank" href="/search/mybatis/1.htm">mybatis</a> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mysql数据库,id自增,配置如下: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;insert id=&quot;saveTestTb&quot; useGeneratedKeys=&quot;true&quot; keyProperty=&quot;id&quot; parameterType=&</div> </li> <li><a href="/article/850.htm" title="struts2拦截器配置" target="_blank">struts2拦截器配置</a> <span class="text-muted">云端月影</span> <a class="tag" taget="_blank" href="/search/struts2%E6%8B%A6%E6%88%AA%E5%99%A8/1.htm">struts2拦截器</a> <div>struts2拦截器interceptor的三种配置方法 方法1. 普通配置法 &lt;struts&gt; &nbsp;&nbsp;&nbsp; &lt;package name=&quot;struts2&quot; extends=&quot;struts-default&quot;&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &</div> </li> <li><a href="/article/977.htm" title="IE中页面不居中,火狐谷歌等正常" target="_blank">IE中页面不居中,火狐谷歌等正常</a> <span class="text-muted">aijuans</span> <a class="tag" taget="_blank" href="/search/IE%E4%B8%AD%E9%A1%B5%E9%9D%A2%E4%B8%8D%E5%B1%85%E4%B8%AD/1.htm">IE中页面不居中</a> <div>问题是首页在火狐、谷歌、所有IE中正常显示,列表页的页面在火狐谷歌中正常,在IE6、7、8中都不中,觉得可能那个地方设置的让IE系列都不认识,仔细查看后发现,列表页中没写HTML模板部分没有添加DTD定义,就是&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3</div> </li> <li><a href="/article/1104.htm" title="String,int,Integer,char 几个类型常见转换" target="_blank">String,int,Integer,char 几个类型常见转换</a> <span class="text-muted">antonyup_2006</span> <a class="tag" taget="_blank" href="/search/html/1.htm">html</a><a class="tag" taget="_blank" href="/search/sql/1.htm">sql</a><a class="tag" taget="_blank" href="/search/.net/1.htm">.net</a> <div>如何将字串 String 转换成整数 int? int i = Integer.valueOf(my_str).intValue(); int i=Integer.parseInt(str); 如何将字串 String 转换成Integer ? Integer integer=Integer.valueOf(str); 如何将整数 int 转换成字串 String ? 1.</div> </li> <li><a href="/article/1231.htm" title="PL/SQL的游标类型" target="_blank">PL/SQL的游标类型</a> <span class="text-muted">百合不是茶</span> <a class="tag" taget="_blank" href="/search/%E6%98%BE%E7%A4%BA%E6%B8%B8%E6%A0%87%28%E9%9D%99%E6%80%81%E6%B8%B8%E6%A0%87%29/1.htm">显示游标(静态游标)</a><a class="tag" taget="_blank" href="/search/%E9%9A%90%E5%BC%8F%E6%B8%B8%E6%A0%87/1.htm">隐式游标</a><a class="tag" taget="_blank" href="/search/%E6%B8%B8%E6%A0%87%E7%9A%84%E6%9B%B4%E6%96%B0%E5%92%8C%E5%88%A0%E9%99%A4/1.htm">游标的更新和删除</a><a class="tag" taget="_blank" href="/search/%25rowtype/1.htm">%rowtype</a><a class="tag" taget="_blank" href="/search/ref%E6%B8%B8%E6%A0%87%28%E5%8A%A8%E6%80%81%E6%B8%B8%E6%A0%87%29/1.htm">ref游标(动态游标)</a> <div>游标是oracle中的一个结果集,用于存放查询的结果; &nbsp; PL/SQL中游标的声明; 1,声明游标 2,打开游标(默认是关闭的); 3,提取数据 4,关闭游标 &nbsp; &nbsp; 注意的要点:游标必须声明在declare中,使用open打开游标,fetch取游标中的数据,close关闭游标 &nbsp; 隐式游标:主要是对DML数据的操作隐</div> </li> <li><a href="/article/1358.htm" title="JUnit4中@AfterClass @BeforeClass @after @before的区别对比" target="_blank">JUnit4中@AfterClass @BeforeClass @after @before的区别对比</a> <span class="text-muted">bijian1013</span> <a class="tag" taget="_blank" href="/search/JUnit4/1.htm">JUnit4</a><a class="tag" taget="_blank" href="/search/%E5%8D%95%E5%85%83%E6%B5%8B%E8%AF%95/1.htm">单元测试</a> <div>一.基础知识 JUnit4使用Java5中的注解(annotation),以下是JUnit4常用的几个annotation: @Before:初始化方法&nbsp;&nbsp; 对于每一个测试方法都要执行一次(注意与BeforeClass区别,后者是对于所有方法执行一次)@After:释放资源&nbsp; 对于每一个测试方法都要执行一次(注意与AfterClass区别,后者是对于所有方法执行一次</div> </li> <li><a href="/article/1485.htm" title="精通Oracle10编程SQL(12)开发包" target="_blank">精通Oracle10编程SQL(12)开发包</a> <span class="text-muted">bijian1013</span> <a class="tag" taget="_blank" href="/search/oracle/1.htm">oracle</a><a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E5%BA%93/1.htm">数据库</a><a class="tag" taget="_blank" href="/search/plsql/1.htm">plsql</a> <div>/* *开发包 *包用于逻辑组合相关的PL/SQL类型(例如TABLE类型和RECORD类型)、PL/SQL项(例如游标和游标变量)和PL/SQL子程序(例如过程和函数) */ --包用于逻辑组合相关的PL/SQL类型、项和子程序,它由包规范和包体两部分组成 --建立包规范:包规范实际是包与应用程序之间的接口,它用于定义包的公用组件,包括常量、变量、游标、过程和函数等 --在包规</div> </li> <li><a href="/article/1612.htm" title="【EhCache二】ehcache.xml配置详解" target="_blank">【EhCache二】ehcache.xml配置详解</a> <span class="text-muted">bit1129</span> <a class="tag" taget="_blank" href="/search/ehcache.xml/1.htm">ehcache.xml</a> <div>在ehcache官网上找了多次,终于找到ehcache.xml配置元素和属性的含义说明文档了,这个文档包含在ehcache.xml的注释中! ehcache.xml : http://ehcache.org/ehcache.xml ehcache.xsd : http://ehcache.org/ehcache.xsd ehcache配置文件的根元素是ehcahe &nbsp; ehcac</div> </li> <li><a href="/article/1739.htm" title="java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderL" target="_blank">java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderL</a> <span class="text-muted">白糖_</span> <a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/eclipse/1.htm">eclipse</a><a class="tag" taget="_blank" href="/search/spring/1.htm">spring</a><a class="tag" taget="_blank" href="/search/tomcat/1.htm">tomcat</a><a class="tag" taget="_blank" href="/search/Web/1.htm">Web</a> <div>今天学习spring+cxf的时候遇到一个问题:在web.xml中配置了spring的上下文监听器: &lt;listener&gt; &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt; &lt;/listener&gt; &nbsp;随后启动</div> </li> <li><a href="/article/1866.htm" title="angular.element" target="_blank">angular.element</a> <span class="text-muted">boyitech</span> <a class="tag" taget="_blank" href="/search/AngularJS/1.htm">AngularJS</a><a class="tag" taget="_blank" href="/search/AngularJS+API/1.htm">AngularJS API</a><a class="tag" taget="_blank" href="/search/angular.element/1.htm">angular.element</a> <div>angular.element 描述: &nbsp; &nbsp; 包裹着一部分DOM element或者是HTML字符串,把它作为一个jQuery元素来处理。(类似于jQuery的选择器啦) &nbsp; &nbsp; 如果jQuery被引入了,则angular.element就可以看作是jQuery选择器,选择的对象可以使用jQuery的函数;如果jQuery不可用,angular.e</div> </li> <li><a href="/article/1993.htm" title="java-给定两个已排序序列,找出共同的元素。" target="_blank">java-给定两个已排序序列,找出共同的元素。</a> <span class="text-muted">bylijinnan</span> <a class="tag" taget="_blank" href="/search/java/1.htm">java</a> <div> import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class CommonItemInTwoSortedArray { /** * 题目:给定两个已排序序列,找出共同的元素。 * 1.定义两个指针分别指向序列的开始。 * 如果指向的两个元素</div> </li> <li><a href="/article/2120.htm" title="sftp 异常,有遇到的吗?求解" target="_blank">sftp 异常,有遇到的吗?求解</a> <span class="text-muted">Chen.H</span> <a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/jcraft/1.htm">jcraft</a><a class="tag" taget="_blank" href="/search/auth/1.htm">auth</a><a class="tag" taget="_blank" href="/search/jsch/1.htm">jsch</a><a class="tag" taget="_blank" href="/search/jschexception/1.htm">jschexception</a> <div>com.jcraft.jsch.JSchException: Auth cancel at com.jcraft.jsch.Session.connect(Session.java:460) at com.jcraft.jsch.Session.connect(Session.java:154) at cn.vivame.util.ftp.SftpServerAccess.connec</div> </li> <li><a href="/article/2247.htm" title="[生物智能与人工智能]神经元中的电化学结构代表什么?" target="_blank">[生物智能与人工智能]神经元中的电化学结构代表什么?</a> <span class="text-muted">comsci</span> <a class="tag" taget="_blank" href="/search/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/1.htm">人工智能</a> <div>&nbsp;&nbsp;&nbsp;&nbsp; 我这里做一个大胆的猜想,生物神经网络中的神经元中包含着一些化学和类似电路的结构,这些结构通常用来扮演类似我们在拓扑分析系统中的节点嵌入方程一样,使得我们的神经网络产生智能判断的能力,而这些嵌入到节点中的方程同时也扮演着&quot;经验&quot;的角色.... &nbsp;&nbsp;&nbsp;&nbsp; 我们可以尝试一下...在某些神经</div> </li> <li><a href="/article/2374.htm" title="通过LAC和CID获取经纬度信息" target="_blank">通过LAC和CID获取经纬度信息</a> <span class="text-muted">dai_lm</span> <a class="tag" taget="_blank" href="/search/lac/1.htm">lac</a><a class="tag" taget="_blank" href="/search/cid/1.htm">cid</a> <div>方法1: 用浏览器打开http://www.minigps.net/cellsearch.html,然后输入lac和cid信息(mcc和mnc可以填0),如果数据正确就可以获得相应的经纬度 方法2: 发送HTTP请求到http://www.open-electronics.org/celltrack/cell.php?hex=0&amp;lac=&lt;lac&gt;&amp;cid=&</div> </li> <li><a href="/article/2501.htm" title="JAVA的困难分析" target="_blank">JAVA的困难分析</a> <span class="text-muted">datamachine</span> <a class="tag" taget="_blank" href="/search/java/1.htm">java</a> <div>前段时间转了一篇SQL的文章(http://datamachine.iteye.com/blog/1971896),文章不复杂,但思想深刻,就顺便思考了一下java的不足,当砖头丢出来,希望引点和田玉。 &nbsp; -----------------------------------------------------------------------------------------</div> </li> <li><a href="/article/2628.htm" title="小学5年级英语单词背诵第二课" target="_blank">小学5年级英语单词背诵第二课</a> <span class="text-muted">dcj3sjt126com</span> <a class="tag" taget="_blank" href="/search/english/1.htm">english</a><a class="tag" taget="_blank" href="/search/word/1.htm">word</a> <div>money 钱 paper 纸 speak 讲,说 tell 告诉 &nbsp; remember 记得,想起 knock 敲,击,打 question 问题 number 数字,号码 &nbsp; learn 学会,学习 street 街道 carry 搬运,携带 send 发送,邮寄,发射 &nbsp; must 必须 light 灯,光线,轻的 front </div> </li> <li><a href="/article/2755.htm" title="linux下面没有tree命令" target="_blank">linux下面没有tree命令</a> <span class="text-muted">dcj3sjt126com</span> <a class="tag" taget="_blank" href="/search/linux/1.htm">linux</a> <div>centos p安装 yum -y install tree &nbsp; mac os安装 brew install tree &nbsp; 首先来看tree的用法 tree 中文解释:tree 功能说明:以树状图列出目录的内容。 语  法:tree&nbsp;[-aACdDfFgilnNpqstux][-I&nbsp;&lt;范本样式&gt;][-P&nbsp;&lt;范本样式</div> </li> <li><a href="/article/2882.htm" title="Map迭代方式,Map迭代,Map循环" target="_blank">Map迭代方式,Map迭代,Map循环</a> <span class="text-muted">蕃薯耀</span> <a class="tag" taget="_blank" href="/search/Map%E5%BE%AA%E7%8E%AF/1.htm">Map循环</a><a class="tag" taget="_blank" href="/search/Map%E8%BF%AD%E4%BB%A3/1.htm">Map迭代</a><a class="tag" taget="_blank" href="/search/Map%E8%BF%AD%E4%BB%A3%E6%96%B9%E5%BC%8F/1.htm">Map迭代方式</a> <div>Map迭代方式,Map迭代,Map循环 &nbsp; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 蕃薯耀 2015年</div> </li> <li><a href="/article/3009.htm" title="Spring Cache注解+Redis" target="_blank">Spring Cache注解+Redis</a> <span class="text-muted">hanqunfeng</span> <a class="tag" taget="_blank" href="/search/spring/1.htm">spring</a> <div>Spring3.1 Cache注解&nbsp; 依赖jar包: &lt;!-- redis --&gt; &lt;dependency&gt; &lt;groupId&gt;org.springframework.data&lt;/groupId&gt; &lt;artifactId&gt;spring-data-redis&lt;/artifactId&gt; </div> </li> <li><a href="/article/3136.htm" title="Guava中针对集合的 filter和过滤功能" target="_blank">Guava中针对集合的 filter和过滤功能</a> <span class="text-muted">jackyrong</span> <a class="tag" taget="_blank" href="/search/filter/1.htm">filter</a> <div>在guava库中,自带了过滤器(filter)的功能,可以用来对collection 进行过滤,先看例子: &nbsp;&nbsp; @Test public void whenFilterWithIterables_thenFiltered() { List&lt;String&gt; names = Lists.newArrayList(&quot;John&quot;</div> </li> <li><a href="/article/3263.htm" title="学习编程那点事" target="_blank">学习编程那点事</a> <span class="text-muted">lampcy</span> <a class="tag" taget="_blank" href="/search/%E7%BC%96%E7%A8%8B/1.htm">编程</a><a class="tag" taget="_blank" href="/search/android/1.htm">android</a><a class="tag" taget="_blank" href="/search/PHP/1.htm">PHP</a><a class="tag" taget="_blank" href="/search/html5/1.htm">html5</a> <div>一年前的夏天,我还在纠结要不要改行,要不要去学php?能学到真本事吗?改行能成功吗?太多的问题,我终于不顾一切,下定决心,辞去了工作,来到传说中的帝都。老师给的乘车方式还算有效,很顺利的就到了学校,赶巧了,正好学校搬到了新校区。先安顿了下来,过了个轻松的周末,第一次到帝都,逛逛吧! 接下来的周一,是我噩梦的开始,学习内容对我这个零基础的人来说,除了勉强完成老师布置的作业外,我已经没有时间和精力去</div> </li> <li><a href="/article/3390.htm" title="架构师之流处理---------bytebuffer的mark,limit和flip" target="_blank">架构师之流处理---------bytebuffer的mark,limit和flip</a> <span class="text-muted">nannan408</span> <a class="tag" taget="_blank" href="/search/ByteBuffer/1.htm">ByteBuffer</a> <div>1.前言。 &nbsp; 如题,limit其实就是可以读取的字节长度的意思,flip是清空的意思,mark是标记的意思 。 2.例子. 例子代码: String str = &quot;helloWorld&quot;; ByteBuffer buff = ByteBuffer.wrap(str.getBytes()); Sy</div> </li> <li><a href="/article/3517.htm" title="org.apache.el.parser.ParseException: Encountered " ":" ": "" at line 1, column 1" target="_blank">org.apache.el.parser.ParseException: Encountered " ":" ": "" at line 1, column 1</a> <span class="text-muted">Everyday都不同</span> <a class="tag" taget="_blank" href="/search/%24/1.htm">$</a><a class="tag" taget="_blank" href="/search/%E8%BD%AC%E4%B9%89/1.htm">转义</a><a class="tag" taget="_blank" href="/search/el%E8%A1%A8%E8%BE%BE%E5%BC%8F/1.htm">el表达式</a> <div>最近在做Highcharts的过程中,在写js时,出现了以下异常: &nbsp; 严重: Servlet.service() for servlet jsp threw exception org.apache.el.parser.ParseException: Encountered &quot; &quot;:&quot; &quot;: &quot;&quot; at line 1, </div> </li> <li><a href="/article/3644.htm" title="用Java实现发送邮件到163" target="_blank">用Java实现发送邮件到163</a> <span class="text-muted">tntxia</span> <a class="tag" taget="_blank" href="/search/java%E5%AE%9E%E7%8E%B0/1.htm">java实现</a> <div>/* 在java版经常看到有人问如何用javamail发送邮件?如何接收邮件?如何访问多个文件夹等。问题零散,而历史的回复早已经淹没在问题的海洋之中。 本人之前所做过一个java项目,其中包含有WebMail功能,当初为用java实现而对javamail摸索了一段时间,总算有点收获。看到论坛中的经常有此方面的问题,因此把我的一些经验帖出来,希望对大家有些帮助。 此篇仅介绍用</div> </li> <li><a href="/article/3771.htm" title="探索实体类存在的真正意义" target="_blank">探索实体类存在的真正意义</a> <span class="text-muted">java小叶檀</span> <a class="tag" taget="_blank" href="/search/POJO/1.htm">POJO</a> <div>一. 实体类简述&nbsp;&nbsp; &nbsp;实体类其实就是俗称的POJO,这种类一般不实现特殊框架下的接口,在程序中仅作为数据容器用来持久化存储数据用的 POJO(Plain Old Java Objects)简单的Java对象 &nbsp; 它的一般格式就是 public class A{ private String id; public Str</div> </li> </ul> </div> </div> </div> <div> <div class="container"> <div class="indexes"> <strong>按字母分类:</strong> <a href="/tags/A/1.htm" target="_blank">A</a><a href="/tags/B/1.htm" target="_blank">B</a><a href="/tags/C/1.htm" target="_blank">C</a><a href="/tags/D/1.htm" target="_blank">D</a><a href="/tags/E/1.htm" target="_blank">E</a><a href="/tags/F/1.htm" target="_blank">F</a><a href="/tags/G/1.htm" target="_blank">G</a><a href="/tags/H/1.htm" target="_blank">H</a><a href="/tags/I/1.htm" target="_blank">I</a><a href="/tags/J/1.htm" target="_blank">J</a><a href="/tags/K/1.htm" target="_blank">K</a><a href="/tags/L/1.htm" target="_blank">L</a><a href="/tags/M/1.htm" target="_blank">M</a><a href="/tags/N/1.htm" target="_blank">N</a><a href="/tags/O/1.htm" target="_blank">O</a><a href="/tags/P/1.htm" target="_blank">P</a><a href="/tags/Q/1.htm" target="_blank">Q</a><a href="/tags/R/1.htm" target="_blank">R</a><a href="/tags/S/1.htm" target="_blank">S</a><a href="/tags/T/1.htm" target="_blank">T</a><a href="/tags/U/1.htm" target="_blank">U</a><a href="/tags/V/1.htm" target="_blank">V</a><a href="/tags/W/1.htm" target="_blank">W</a><a href="/tags/X/1.htm" target="_blank">X</a><a href="/tags/Y/1.htm" target="_blank">Y</a><a href="/tags/Z/1.htm" target="_blank">Z</a><a href="/tags/0/1.htm" target="_blank">其他</a> </div> </div> </div> <footer id="footer" class="mb30 mt30"> <div class="container"> <div class="footBglm"> <a target="_blank" href="/">首页</a> - <a target="_blank" href="/custom/about.htm">关于我们</a> - <a target="_blank" href="/search/Java/1.htm">站内搜索</a> - <a target="_blank" href="/sitemap.txt">Sitemap</a> - <a target="_blank" href="/custom/delete.htm">侵权投诉</a> </div> <div class="copyright">版权所有 IT知识库 CopyRight © 2000-2050 E-COM-NET.COM , All Rights Reserved. <!-- <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">京ICP备09083238号</a><br>--> </div> </div> </footer> <!-- 代码高亮 --> <script type="text/javascript" src="/static/syntaxhighlighter/scripts/shCore.js"></script> <script type="text/javascript" src="/static/syntaxhighlighter/scripts/shLegacy.js"></script> <script type="text/javascript" src="/static/syntaxhighlighter/scripts/shAutoloader.js"></script> <link type="text/css" rel="stylesheet" href="/static/syntaxhighlighter/styles/shCoreDefault.css"/> <script type="text/javascript" src="/static/syntaxhighlighter/src/my_start_1.js"></script> </body> </html>