问答详情
源自:5-3 开个新窗口 - 在新建浏览器窗口中打开链接

self的这个为什么不能点

<!DOCTYPE html>

<html>


<head>

    <meta charset="UTF-8">

    <title>target属性</title>

</head>


<body>

    <a herf="https://www.baidu.com/?tn=40020637_14_oem_dg"  target="_self">baidu this</a><br />

    <a href="https://www.baidu.com/?tn=40020637_14_oem_dg" target="_blank">baidu new</a>


   

</body>


</html>


提问者:粽野 2021-05-29 22:24

个回答

  • 慕UI8175327
    2021-06-07 20:14:06

    为啥都爱把href写成herf?

  • 灰色火锅
    2021-05-29 22:40:00

    第一句把href写成herf了