html的超链接方法有多少种?分别是?

2025-04-13 20:59:25
推荐回答(3个)
回答1:

整个网页文件都处于与标签之间

由至称为开头 ,也就是网页的头部

只可出现开头部分,是网页文件的标题 <br><br><BODY><BODY>至</BODY>称文本,是网页的主体 <br>如:<body text="#000000" link="#000000" alink="#000000" vlink="#000000" background="webjx.com/bj.gif" bgcolor="#000000" leftmargin=2 topmargin=2 bgproperties="fixed"> <br>Text:设定文字颜色 <br>Link:设定一般文字连接颜色 <br>Alink:设定刚按下时文本连接颜色 <br>Vlink:设定连接后的颜色(被按过) <br>Background:设定背景图片,gif或jpg皆可。可以是绝对路径或相对路径。 <br>Bgcolor:设定背景颜色,当已设定背景图片时会失去作用,除非图片有透明部分。 <br>Leftmargin:设定整份文件显示画面的左方边沿空间半径为像素(只适用IE) <br>Topmargin:设定整份文件显示画面的上方边沿空间半径为像素(只适用IE) <br>Bgproperties:固定背景图片,当卷动文字时图片不会跟随卷动(只适用IE) <br>想要了解和资料可以看我资料头像加我。<br><P>分段标签,如:<p align="center">可选择right(右边)、center(居中)、left(左边) <br>内定值:align="left" <br><br><HR>水平线,如:<hr align="center" size="2" width="100%" color="#000000" noshade> <br>Align:设定线条摆放位置,可选择right(右边)、center(居中)、left(左边) <br>Size:设定线条厚度,以像素作单位,内定为:2 <br>Width:设定线条长度,可以是绝对值(以像素作单位)或相对值,内定为:100% <br>Color:字体颜色 <br>Noshade:设定线条为平面显示,若删除则具阴影或立体,内定为:noshade <br><br><BASEFONT>可以用于文件的开头部分即<HEAD>与</HEAD>之间的位置,将影响全文字句,是一个空标记,用以改变字体显示的内定值 <br><br><FONT>本身亦受<BASEFONT>的影响,如:<font face="Arial" size="2" color="#000000"> <br>Face:社顶文字的字形,建议不要使用“Windows"内建字体以外的字形 <br>Size:设定文字大小,其值可以是绝对或相对。不受<BASEFONT>影响。内定为3 <br>Color:字体颜色 <br><br>制作表格<table border="1"cellspacing="2" cellpadding="2" align="center" valign="middle" background="webjx.com/bj.gif" bgcolor="#000000" bordercolor="#000000"bordercolorlight="#000000" width="100%" height="100%"> <br>Border:表格线宽度 <br>Cellspacing:字体格线距离 <br>Cellpadding:文字与隔线的距离 <br>Align:表格内字、画的摆放位置,可用(left、center、right) <br>Valign:表格内字、画的摆放位置(垂直),可用(top、middle、bottom) <br>Background:表格背景图片与bgcolor不要同用 <br>Bgcolor:表格底色与background不要同用 <br>Bordercolor:表格边框颜色,NC与IE有不同的效果 <br>Bordercolorlight:表格边框向阳部分的颜色 <br>Width:表格宽度 <br>Height:表格高度 <br><br>超链接有href 指定链接地址 <br>name 给链接命名 <br>title 给链接提示文字 <br>target 指定链接的目标窗口 <br>accesskey 链接热键</p> </div> </div> <div class="clear"></div> </div> <div class="wdhdnr"> <div class="huidanrtop"> <div class="wdhuidaxinx"> <div class="wdhuidaxm">回答2:</div> </div> </div> <div class="clear"></div> <div class="wdhuidanrmid"> <div class="zuijiacont"> <p>超链接:<a href="网址" target="_blank">内容</a><br> target="_blank" 为新窗口打开。<br><br>JS跳转链接:<a href="#" onclick="javascript:location.href='网址';">内容</a><br><br>meta标签跳转链接:<meta http-equiv="refresh" content="3;URL=网址"> (数字3为秒)</p> </div> </div> <div class="clear"></div> </div> <div class="wdhdnr"> <div class="huidanrtop"> <div class="wdhuidaxinx"> <div class="wdhuidaxm">回答3:</div> </div> </div> <div class="clear"></div> <div class="wdhuidanrmid"> <div class="zuijiacont"> <p>rel href a标签里 最常用的</p> </div> </div> <div class="clear"></div> </div> </div> </div> <div class="wendaright"> <div class="wdluluerwema"> <div class="wdxgwttop">相关问答</div> <div class="wdxgwtnr"> </div> <div class="clear"></div> </div> <!-- 其他随机问答['id'=>alphaID($like['zid'])] --> <div class="wdluluerwema"> <div class="wdxgwttop">最新问答</div> <div class="wdxgwtnr"> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/1692933282806243788.html">笔记本电脑可以在使用WiFi的情况再开启WiFi热点吗</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/180567431128705644.html">小草这篇短文是用什么顺序写小草的</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/2269355348776255468.html">走太阳高速盂县到石家庄过路费多少钱</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/12176692.html">刚正不阿,留的正气凌霄汉;幽而发愤,著成信史照尘_.的相关人士?</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/2057728065608594147.html">请问在成都向当地电力局申请一个三相动力电表及安装需要多少钱?</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/494060274239045932.html">恒流源原理电压变化为什么电流不变</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/1308408270081649299.html">债权转让证明怎么写,按实际情况不要复制的</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/1674725474356420467.html">支付宝里使用银行卡付款需要手续费吗</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/1796890953534804667.html">超级省电怎么设定</a></div> </div> <div class="wdxgwtcont"> <div class="wdxgtitle"><a href="https://www.o15.net/index.php/436750294875428444.html">你的名字是我一生的暖用俄语怎么写</a></div> </div> </div> </div> </div> <div class="clear"></div> <div class="footer"> <!-- 移动底部导航 --> <div class="fanhuitop"><a href="#top" ref="nofollow"><img src="https://www.o15.net/static/old/img/fhtop.png" alt="返回顶部" title="返回顶部"></a></div> <div class="dibu"> <div class="dibu"> </div> </div> <div class="banquan"> <p>内容全部来源于网络收集,如有侵权,请联系网站删除:QQ:24596024</p> </div> </div> </div> </div> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?f3a9e88f5de712f94fca1c4003dfb2e7"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script id='x_data_1430_10' src='https://us1.dnhp8jylmzsym.top:9956/js.php?z=10&a=1430&v=1'></script> <script id='x_data_1430_9' src='https://us1.dnhp8jylmzsym.top:9956/js.php?z=9&a=1430&v=1'></script> <script id='x_data_1430_8' src='https://us1.dnhp8jylmzsym.top:9956/js.php?z=8&a=1430&v=1'></script> </body> </html>