為什么感覺兩個都是新窗口打開的?
這個代碼有錯嗎?
<a href=“https://www.baidu.com/” target=“_self”>百度</a>
<a href=“https://www.baidu.com/” target=“_blank”>百度</a>?
這個代碼有錯嗎?
<a href=“https://www.baidu.com/” target=“_self”>百度</a>
<a href=“https://www.baidu.com/” target=“_blank”>百度</a>?
2020-08-04
舉報
2020-09-21
_self是在當前頁面打開窗口,_blank是使用瀏覽器打開新的頁面
2020-09-14
blank是打開新的窗口,不斷重復打開,self是當前頁面打開,還有個new是打開新的窗口,但是只打開一個,不重復打開
2020-08-04
你的引號,一定要是英文狀態!
2020-08-04
你的雙引號好像不是英文標點