Profile我爱我家 사랑의 가족PhotosBlogLists Tools Help

Blog


    7/30/2005

    如何做日志内的超级链接

    有时候在日志内需要做超级链接. 既点击文字或图片时,可以打开另一个网页.
    下面是以链接MSN Space的主页的几种链接演示. MSN Space的主页的网址为:http://spaces.msn.com/
    1. 点击文字的链接:
    基本的HTML语法为:<a href="新链接地址">点击处</a>
    演示:MSN Space主页
    代码:<a href="http://spaces.msn.com/">MSN Space主页</a>
    上述代码是在目前窗口打开该网页,
    如果在新窗口打开该网页,可加上target="_blank"
    代码:<a target="_blank" href="http://spaces.msn.com/">MSN Space主页</a>
     
    2. 点击图片的链接:
    基本的HTML语法为:<a href="新链接地址"><img src="要点击图片地址f"></a>
    演示:
    代码:<a href="http://spaces.msn.com/"><img src="http://spaces.msn.com/msn_logo.gif"></a>
    上述代码是在目前窗口打开该网页,
    如果在新窗口打开该网页,<a 的后面加上target="_blank"
     
    如果鼠标放到该链接上部时,出现屏幕提示语.可在<a 的后面再加上title="屏幕提示语".
    把鼠标放到下面图片上面,看看演示效果.
    演示:
    以上为最基本的超级链接方法.更高级的方法请参考网上有关内容.

    Comments (28)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Apr. 13
    还我bb拳wrote:
    很谢谢你哈  正在求助刚刚就看到了
    July 23
    yanwrote:
    太好了,谢谢!
    Mar. 30
    wrote:
    <a href="http://spaces.msn.com/">MSN Space主页</a>
    Mar. 30
    晶晶wrote:
    学会楼 谢谢啦
     
    Mar. 19
    Picture of Anonymous
    牛奶卡其 wrote:
    一直想学这个呢~帮了大忙啦,谢谢了~
    Jan. 26
    Picture of Anonymous
    YPF wrote:
    我也出现这个问题了,不能在新页打开,怎么回事呢?
    Jan. 25
    Picture of Anonymous
    asz24682-512127562 wrote:
    <a href="新链接地址"><img src="要点击图片地址f"></a>
    多个f,应为<a href="新链接地址"><img src="要点击图片地址"></a>
    Jan. 24
    Picture of Anonymous
    望月听琴 wrote:
    使用了你的超链接,在此表示感谢!
    Jan. 17
    Picture of Anonymous
    lk wrote:
    我也出现这个问题了,不能在新页打开,怎么回事呢?
    Jan. 17
    Picture of Anonymous
    贝壳元素 wrote:
    不行啊!
    在新窗口打开那个原代码老是被系统删了.
    只能在原网页打开链接!5555555
    Jan. 14
    Picture of Anonymous
    小暈兒 wrote:
    實用額~~
    Jan. 2
    Picture of Anonymous
    蓝精妮 wrote:
    好喜欢你的Spaces ,好可爱~
    Dec. 29
    Picture of Anonymous
    helen wrote:
    正好用上啦,谢谢! 你的小家作的好棒哦
    Dec. 9
    Picture of Anonymous
    LOVE☜☞丹。◕‿◕。 wrote:
    好有用呢。。谢谢啦~~~
    Dec. 3
    Picture of Anonymous
    EdwardVoodoo wrote:
    谢谢。看到有用。支持下。
    Nov. 30
    Picture of Anonymous
    YUE6556 wrote:
    哇!学会了!学会了!
    太太太感谢了!
    欢迎来我家啊!
    Nov. 9
    Picture of Anonymous
    oο悦月О‰ wrote:
    我要用它拉,谢谢哦
    很好哦!
    Oct. 27
    Picture of Anonymous
    ☜JC☞ wrote:
    好有用,谢拉!
    Oct. 24
    Picture of Anonymous
    淑女不淑 wrote:
    很简单的方法,借走了,方便以后个人使用哦。谢谢。
    Oct. 23