+ 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
3 Réponses
+ 4
加入css
a {
text-decoration: none;
}
+ 2
如果target="_blank",链接的文档将在一个新的选项卡中打开,或者在(旧的浏览器)上打开一个新窗口。
+ 1
wow,thx🤗