前端学习:超链接

<p><a href="/index.html">本文本</a> 是一个指向本网站中的一个页面的链接。</p>


<p><a href="http://www.microsoft.com/">本文本</a> 是一个指向万维网上的页面的链接。</p>


<p>您也可以使用图像来作链接:<a href="/example/html/lastpage.html">

<img border="0" src="/i/eg_buttonnext.gif" /></a></p>


<a href="http://www.w3school.com.cn/" target="_blank">Visit W3School!</a>       _blank,在新窗口中打开链接


<p><a href="#C4">查看 Chapter 4。</a></p>

<h2><a name="C4">Chapter 4</a></h2>同页面位置跳转

扫描二维码关注公众号,回复: 2093811 查看本文章


<a href="/index.html"target="_top">请点击这里!</a>    假如你的页面被固定在框架之内, 如何跳出框架。

猜你喜欢

转载自blog.csdn.net/lx5090110/article/details/79486188
今日推荐