文档介绍:去掉超链接的下划线我们可以用 CSS 语法来控制超链接的形式、颜色变化。下面我们做一个这样的链接: 未被点击时超链接文字无下划线, 显示为蓝色; 当鼠标在链接上时有下划线, 链接文字显示为红色; 当点击链接后,链接无下划线,显示为绿色。实现方法很简单,在源代码的和之间加上如下的 CSS 语法控制: <style type="text/css"> <!-- a:link { text-decoration: none;color: blue} a:active { text-decoration:blink} a:hover { text-decoration:underline;color: red} a:visited { text-decoration: none;color: green} --> </style> 其中: a:link 指正常的未被访问过的链接; a:active 指正在点的链接; a:hover 指鼠标在链接上; a:visited 指已经访问过的链接; text-decoration 是文字修饰效果的意思; none 参数表示超链接文字不显示下划线; underline 参数表示超链接的文字有下划线同样,如果讲 none 替换成 overline 则给超链接文字加上划线, 换成 line-through 给超链接文字加上删除线, blink 则使文字在闪烁。最佳答案“页面属性”——“链接”——“下划线样式”——“始终无下划线”完整 CSS <style type="text/css"> <!-- a:link { text-decoration: none; } a:visited { text-decoration: none; } a:hover { text-decoration: none; } a:active { text-decoration: none; } --> </style> html 语言中怎样去掉超链接文字的下划线最佳答案<style type="text/css"> a:link,a:visited{ text-decoration:none; /* 超链接无下划线*/ } a:hover{ text-decoration:underline; /* 鼠标放上去有下划线*/ } </style> <a href="#"> 超链接</a> 去掉超链接的下划线,需要用样式表 CSS 来控制。关于 CSS 的概念, 我写了一篇《样式表简明教程》, 详细而且精炼、通俗, 我想, 很有必要阅读一下。当然, 如果你暂时不想深入了解 CSS 的概念, 下面将举三个实例来说明如何控制超链接的下划线。用记事本打开网页源代码( 也可以先用 IE 打开网页,然后点击 IE 菜单栏的“查看→源文件”) ,然后弹出如下记事本窗口: - 记事本文件(F) 编辑(E) 搜索(S) 帮助(H) <html> <head> <title> 网页树树</title> </head> <body> ……</body> </html> 找到<head> 和</head> 这两句了吗?样式表语句就加在它们中间。如下: <html> <head> <style>a{TEXT-DECORATION:none}</st