文字加链接测试及方法

----------------------Windows Phone 7手机开发.Net培训、期待与您交流!-------------------------
方法一: 以上是通过选中文字,在内容编辑栏中点击插入\编辑超链接就可以实现同样的效果
 
---------------------- <a href= http://net.itheima.com target="blank">Windows Phone 7手机开发</a>、<a href="http://net.itheima.com/" target="blank">.Net培训</a>、期待与您交流! ----------------------
 
原因:由于以上这段代码在复制过来不能使用,没有效果,直接显示原代码,后来自已找到了解决办法,应该是文本编辑时不在html模式下,也证实了这一点
方法二:点击内容编辑栏里面的HTML把上面那段话放入在最后面就可以了,效果如下

---------------------- Windows Phone 7手机开发.Net培训、期待与您交流! ----------------------

 

---------------------- <a href="http://net.itheima.com/" target="blank">Windows Phone 7手机开发</a>、<a href="http://net.itheima.com/" target="blank">.Net培训</a>、期待与您交流! ----------------------

详细请查看:<a href="http://net.itheima.com/" target="blank">http://net.itheima.com/</a>

 

如上两种方法可以使用任意一种

效果:

---------------------- Windows Phone 7手机开发.Net培训、期待与您交流! ----------------------

 

详细请查看:http://net.itheima.com/

posted @ 2011-12-18 21:02  LetGo  阅读(275)  评论(0)    收藏  举报