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








