<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
p{color:green}
u{color:red}
</style>
<title>2</title>
</head>
<body>
<u><p>文本文档</p></u>
<a ></body>
</html>
<u></u>是定义下划线文本的,但是在html5的标准中,这个标签已经被淘汰了不能使用了,在html4中是可以的。
要设置下线的颜色,还有方法的,用下边框代替下划线,设置下边框的颜色及可以了。
用Css样式做
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
p{color:green}
u{color:red}
</style>
<title>2</title>
</head>
<body>
<u><p>文本文档</p></u>
<a ></body>
</html>
Photoshop|
Dreamweaver|
SVG|
WebGL|
Visual Studio|
PowerDesigner|
Eclipse|
Git|
Apache Ant|
Atom|
Composer|
CodeSmith|
Flex|
Gradle|
Maven|
Sublime Text3|
SVN|
Tableau|
Vim|
Chrome开发者工具|
OpenGL|
Unity|
Direct3D|
用户登录
还没有账号?立即注册
用户注册
投稿取消
| 文章分类: |
|
还能输入300字
上传中....
赵日天的弟赵日地