<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>文本装饰</title>
<style>
a{
/* 无文字装饰效果 */
text-decoration: none;
}
p{
/* 上划线 */
/* text-decoration: overline; */
/* 删除线 */
/* text-decoration: line-through; */
/* 下划线 */
text-decoration: underline;
}
</style>
</head>
<body>
<a href="#">点击进入</a>
<p>我脑袋里在开party</p>
</body>
</html>
文字装饰(text-decoration)
最新推荐文章于 2022-08-07 14:31:24 发布