<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>鏈接標簽學習</title> </head> <body> <!--使用 name 作為錨標記--> <a name="top">頂部</a> <br/> <!-- a 標簽 href:必填,表示跳轉地址 target:表示視窗打開方式 _blank:在新標簽頁中打開 _self:在當前標簽中打開【默認打開方式】 --> <a href="1.我的第一個網頁.html" target="_blank">點擊我跳轉到頁面一</a> <br/> <a href="https://www.baidu.com" target="_self">點擊我跳轉到百度</a> <br/> <a href="1.我的第一個網頁.html"> <img src="../resources/image/1.jpg" alt="我的頭像" title="懸停文字" width="300" height="300"> </a> <br/> <p> <a href="1.我的第一個網頁.html"> <img src="../resources/image/1.jpg" alt="我的頭像" title="懸停文字" width="300" height="300"> </a> </p> <p> <a href="1.我的第一個網頁.html"> <img src="../resources/image/1.jpg" alt="我的頭像" title="懸停文字" width="300" height="300"> </a> </p> <p> <a href="1.我的第一個網頁.html"> <img src="../resources/image/1.jpg" alt="我的頭像" title="懸停文字" width="300" height="300"> </a> </p> <p> <a href="1.我的第一個網頁.html"> <img src="../resources/image/1.jpg" alt="我的頭像" title="懸停文字" width="300" height="300"> </a> </p> <p> <a href="1.我的第一個網頁.html"> <img src="../resources/image/1.jpg" alt="我的頭像" title="懸停文字" width="300" height="300"> </a> </p> <!-- 錨鏈接 1、需要一個錨標記 2、跳轉到標記 通過 #name名實作跳轉 回到頂部 注意:錨鏈接可跨頁面實作跳轉【博客右側欄目常用】實作方式相同 --> <a href="#top">回到頂部</a> <br/> <!-- 功能性鏈接 郵件鏈接:mailto QQ鏈接:QQ推廣 -> 推廣工具 --> <a href="mailto:[email protected]">點擊聯系我</a> <br/> <p> <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=403132995&site=qq&menu=yes"> <img border="0" src="http://pub.idqqimg.com/qconn/wpa/button/button_131.gif" alt="你好,加我領取小電影" title="你好,加我領取小電影"/> </a> </p> </body> </html>
轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/256263.html
標籤:其他
