日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 前端技术 > HTML >内容正文

HTML

HTML 超链接

發(fā)布時間:2025/3/15 HTML 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 HTML 超链接 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

1.如何創(chuàng)建html超鏈接

<html> <body> <p> <a href="http://www.baidu.com" > website link</a> </p></body> </html>

點擊后跳轉到baidu主頁


2.超鏈接的title屬性

<html> <body> <p> <a href="http://www.baidu.com" title="click here to Baidu" > website link</a> </p></body> </html>


3.將圖片作為超鏈接

<html> <body> <p> <a href="http://www.baidu.com"> <img src="http://www.blabla.cn/images/icons/go.gif"> </a> </p></body> </html>


4.在新窗口打開一個鏈接

<html> <body> <p> <a href="http://www.baidu.com" target=_blank > website link</a> </p></body> </html>


5.在html文件里跳轉

<html> <body> <p> <a href="#c28"> see chapter 28</a> </p> <p> <a name="c1"></a> <p> chapter 1</p> <a name="c2"></a> <p> chapter 2</p> <a name="c3"></a> <p> chapter 3</p> <a name="c4"></a> <p> chapter 4</p> <a name="c5"></a> <p> chapter 5</p> <a name="c6"></a> <p> chapter 6</p> <a name="c7"></a> <p> chapter 7</p> <a name="c8"></a> <p> chapter 8</p> <a name="c9"></a> <p> chapter 9</p> <a name="c10"></a> <p> chapter 10</p> <a name="c11"></a> <p> chapter 11</p> <a name="c12"></a> <p> chapter 12</p> <a name="c13"></a> <p> chapter 13</p> <a name="c14"></a> <p> chapter 14</p> <a name="c15"></a> <p> chapter 15</p> <a name="c6"></a> <p> chapter 16</p> <a name="c17"></a> <p> chapter 17</p> <a name="c18"></a> <p> chapter 18</p> <a name="c19"></a> <p> chapter 19</p> <a name="c20"></a> <p> chapter 20</p> <a name="c21"></a> <p> chapter 21</p> <a name="c22"></a> <p> chapter 22</p> <a name="c23"></a> <p> chapter 23</p> <a name="c24"></a> <p> chapter 24</p> <a name="c25"></a> <p> chapter 25</p> <a name="c26"></a> <p> chapter 26</p> <a name="c27"></a> <p> chapter 27</p> <a name="c28"></a> <p> chapter 28</p></body> </html>

點擊“see chapter 28”,會跳轉到chapter 28:




總結

以上是生活随笔為你收集整理的HTML 超链接的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。