操作方法
代码,可以看到链接下方有下划线,如下图所示: <a href="https://www.sogou.com/">souGo</a>
写一个样式表,如下图所示: <style type="text/css"> </style>
然后写超链接样式,如下图所示: <style type="text/css"> a{ text-decoration:none } </style>
显示结果 结果看到超链接下划线已经去掉了,如下图所示: 总代码: <html> <body> <head> <style type="text/css"> a{ text-decoration:none; } </style> <a href="https://www.sogou.com/">souGo</a> </head> </body> </html>