使用CSS对文本碱性修饰的时候《text-decoration>取值是什么?

来源:百度知道 编辑:UC知道 时间:2024/08/20 21:32:04

<html>
<head>
<style type="text/css">
h1 {text-decoration: overline}
h2 {text-decoration: line-through}
h3 {text-decoration: underline}
a {text-decoration: none}
</style>
</head>

<body>
<h1>这是标题 1</h1>
<h2>这是标题 2</h2>
<h3>这是标题 3</h3>
<p><a href="#">这是一个链接</a></p>
</body>

</html>
给你个例子看了就清楚了