+ 1

how to delete the underline in the output?and what's target attribute?delete the attribute,the output is same in this code

<a href="https://m.baidu.com/?from=1020786r" target="_blank"> Baidu </a> #the output is Baidu,but it has an underline

29th Oct 2019, 6:31 AM
Yuan Ruo
Yuan Ruo - avatar
3 Réponses
+ 4
加入css a { text-decoration: none; }
29th Oct 2019, 6:47 AM
Calviղ
Calviղ - avatar
+ 2
如果target="_blank",链接的文档将在一个新的选项卡中打开,或者在(旧的浏览器)上打开一个新窗口。
29th Oct 2019, 6:50 AM
Calviղ
Calviղ - avatar
+ 1
wow,thx🤗
29th Oct 2019, 7:07 AM
Yuan Ruo
Yuan Ruo - avatar