Lesson01_05 HTML中的超链接
人气:0想了解Lesson01_05 HTML中的超链接的相关内容吗,在本文为您仔细讲解的相关知识和一些Code实例,欢迎阅读和指正,我们先划重点:Lesson01_05,,,,HTML中的超链接,下面大家一起来学习吧。
格式:<A HREF=" "></A>
代码:<A HRER="HTTP://WWW.LONCER.CN">LONCER'S BLOG</A>
效果:LONCER'BLOG
可以用来启动邮件发送:
代码:<A HRER="MAILTO:THINKME722@GMAIL.COM?SUBJECT=问个问题">LONCER'SEmail</A>
效果:LONCER'Email
代码:<A HRER="HTTP://WWW.LONCER.CN" TARGET="_BLANK">LONCER'S BLOG</A> 效果:LONCER'BLOG
如果是在同一页中转则如下:
1、先在要跳到的地方用:<A NAME="markname">
2、再在要跳转的地方用:<A HREF="#markname">跳转到markname处</A>
代码:<A HREF="#markname">跳转到markname处</A>
效果:跳转到markname处
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
jjvvjjvvjjvvjjvvjjvvjjvvjjvv
他娘的有完没有……汗
跳到这里了,代码如下:
<A NAME="MARKNAME">
如果是在不同的页面转则如下:
1、先在要跳到xxxx.html网页中的指定地方用:<A NAME="markname">
2、再在要跳转的地方用:<A HREF="xxxx.html#markname">跳转到xxxx.html的markname处</A>
如果是要转到本页则如下:
<A HREF="#">自己</A>
自己
特别的如下: <A HREF="">指向的是文件所在目录</A>
指向的是文件所在目录
注:如果文件是放在服务器上则打开目录下的默认文件
加载全部内容