<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>css下划线,上划线</title>
<style>
.p1
{
text-decoration:overline;
}
.p2
{
text-decoration:line-through;
}
.p3
{
text-decoration:underline;
}
.p4
{
text-decoration:blink;
}
</style>
</head>
<body>
<p class="p1">这是文本内容</p>
<p class="p2">这是文本内容</p>
<p class="p3">这是文本内容</p>
<p class="p4">这是文本内容</p>
</body>
</html>