Remove HTML hyperlink underline
2012-08-30 17:31:00| Category: css| Report | Font size Subscription
We can use CSS syntax to control the form and color changes of hyperlinks.
Let's do a link like this: The hyperlink text is not underlined when clicked, it appears blue, the link text appears red when the mouse is on the link, and when the link is clicked, the link is not underlined and appears green.
The implementation method is simple, with the following CSS syntax controls between the
<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>
which
A:link refers to a normal link that has not been visited;
A:active refers to the link being point;
A:hover refers to the mouse on the link;
A:visited means a link that has been visited;
Text-decoration is the meaning of the text modification effect;
The None parameter indicates that the hyperlink text does not appear underlined;
The underline parameter indicates that the text of the hyperlink is underlined
Similarly, if none is replaced with Overline, the hyperlink text is underlined, and Line-through is added to the hyperlink text with the strikethrough, blink causes the text to blink.
HTML to remove HTML hyperlink underline