国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

HTML ?? ???? ?????

?????? ???? ????? ? ? ????. Baidu News? ?? ??? ??? ???? ?? ???? ???? ????.

10.png

???? ?????? ?? ??? ??? ???????


?????

?? ??:

<a attribute = "value">...</a>

??: <a>? <a> ??? ??? ? ????.

?? ??

  • href: ?? ?? ??? URL???. URL? ?? ??? ?? ?? ?? ??? ?? ????.

  • target: ?? ??? ?? ????.

  • _blank: ?? ??? ? ??? ???.

  • _self: ?? ??? ?? ??? ???(????? ??). "??" ??? ?????.

  • _parent: ?? ??? ?? ??? ???.

  • _top: ??? ??? ?? ??? ???.

????? ???? _parent ? _top ??? ???? ? ??? ???????.

  • name: ?? ??? ??? ?????. .


1. ?? ?? URL

(1) ?? ?? ??

?? ??? ?????? ?? "<a href="http://"??? ?? ? ??? ??.">http://"??? ?? ? ??? ??.</a>"?? ?????.

?:

<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <body>
        <h1>歡迎加入php.cn</h1>
        <a href="http://www.miracleart.cn/" >php.cn</a>
        <hr>
        <a href="http://www.taobao.com/" target="_blank">淘寶網(wǎng)</a>
        <hr>
        <a href="http://www.baidu.com/" target="_blank">百度</a>
    </body>
</html>


(2) ?? ?? ??(?? ???? ??)

?? ?? ?? ??? ???? ?? ??? <a href="http://file:///.">file:///? ???? ?? ?????. </a>

?? ?? ???? ??:

<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <body>
        <h1>歡迎加入php.cn</h1>
        <a href="http://www.miracleart.cn/" >php.cn</a>
        <hr>
        <a href="http://www.taobao.com/" target="_blank">淘寶網(wǎng)</a>
        <hr>
        <a href="http://www.baidu.com/" target="_blank">百度</a>
        <a href="file:///D:/image.html" target="_blank">點擊查看圖片</a>  
    </body>
</html>

??: ???? ??????



2. ?? ?? URL(???? ? ??? ?? ?? ????? ???? ???? ???.)

(1) ?? ??? ?? ??? ??? ?? ??? ??, ?? ??? ?? ?? ??? ?? ???.

<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <body>
        <h1>歡迎加入php.cn</h1>
       <a href="1.jpg">圖片</a>  
    </body>
</html>

(2) ?? ??? ?? ??? ?? ??? ??? ??? ??? ????. ?? "?? ??"? ?? ?? "?? ??"? ????. ".

?, ?? ??? ?? ??? ?????.

<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <body>
        <h1>歡迎加入php.cn</h1>
       <a href="image/1.jpg">圖片</a>  
    </body>
</html>

(3) ?? ??? ?? ????? ????, ?? ????? ??? ? ?? ?????? ??? ????.

"../" ??? ?? ?????.

"../"? ?? ????? ?????.

"../../"? ?? ? ??? ?????.

<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <body>
        <h1>歡迎加入php.cn</h1>
       <a href="../image/1.jpg">圖片</a>  
    </body>
</html>


3. ????

(1), ???? ??

?? ??? ??? ???? ???? ??????

??, ?? ??? ? ?? ??? ????? ?????? ?: .jpg, .png, .gif, .html, .htm, .txt ?

???? ??? ?????? ?? ??? ? ????. ?: .doc, .xls, .ppt, .rar, .psd...

? ?? ??? ? ?? ?? ???? ??? ?????.

<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <body>
        <h1>歡迎加入php.cn</h1>
       <a href="image/1.rar">下載</a>  
    </body>
</html>

(2), ??? ??

<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <body>
        <h1>歡迎加入php.cn</h1>
       <a href="mailto:php@php.cn">有問題的話,請給我們發(fā)郵件</a>  
    </body>
</html>

(3), ?? ? ??(#)

?? ?? ?? ??:

<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <body>
        <h1>歡迎加入php.cn</h1>
       <a href="#">這是一個空鏈接</a>  
    </body>
</html>


???? ??
||
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body> <h1>歡迎加入php.cn</h1> <a href="http://www.miracleart.cn/" >php.cn</a> <hr> <a href="http://www.taobao.com/" target="_blank">淘寶網(wǎng)</a> <hr> <a href="http://www.baidu.com/" target="_blank">百度</a> </body> </html>