Css
Connection Properties
In the HTML file in the hyperlink text after the browser will be underlined to show the way, and no dynamic effect, through the CSS Anchor Pseudo Classes, you can display the hyperlink text to achieve several different changes.
For example: <a href=http://www.webjx.com>www.webjx.com</a>
The above hyperlinks are displayed in an underlined manner on the browser page. But if the use of CSS Anchor Pseudo Classes can make dynamic effect, its label is as follows: Remember two attributes See ";" separated, detailed property value settings see CSS Common Properties (properties) and set Value list.
| Raw code |
A:link{color:blue; font-size:14pt; Text-decoration:underline} A:visited{color:blue; font-size:14pt; Text-decoration:underline} a:hover{color:red; font-size:14pt; Text-decoration:none} a:active{color:red; font-size:9pt; Text-decoration:none} |
| Show results |
Click here! |
Attribute classification
A:link is a connection that represents a normal state
A:visited is the connection that was accessed
A:hover is to move to the connection on behalf of the mouse
A:active is on behalf of the press down connection
Color is for connection colors
Font-size is the size of the connection text, applicable to point (PT) or pixels (px)
Text-decoration is a text style, none is underlined