為什么感覺(jué)兩個(gè)都是新窗口打開(kāi)的?
這個(gè)代碼有錯(cuò)嗎?
<a href=“https://www.baidu.com/” target=“_self”>百度</a>
<a href=“https://www.baidu.com/” target=“_blank”>百度</a>?
這個(gè)代碼有錯(cuò)嗎?
<a href=“https://www.baidu.com/” target=“_self”>百度</a>
<a href=“https://www.baidu.com/” target=“_blank”>百度</a>?
2020-08-04
舉報(bào)
2020-09-21
_self是在當(dāng)前頁(yè)面打開(kāi)窗口,_blank是使用瀏覽器打開(kāi)新的頁(yè)面
2020-09-14
blank是打開(kāi)新的窗口,不斷重復(fù)打開(kāi),self是當(dāng)前頁(yè)面打開(kāi),還有個(gè)new是打開(kāi)新的窗口,但是只打開(kāi)一個(gè),不重復(fù)打開(kāi)
2020-08-04
你的引號(hào),一定要是英文狀態(tài)!
2020-08-04
你的雙引號(hào)好像不是英文標(biāo)點(diǎn)