CSS beginners: connection properties

Source: Internet
Author: User
Connection property
Hyperjoin text in the HTML file is displayed in an underlined manner after being interpreted by the browser. It has no dynamic effect. The Anchor Pseudo Classes in CSS is used, you can change the display mode of hyperjoin text in several ways.
Example: <a href = http: //> </A>
The above Super connections are displayed in an underline on the browser page.
However, if you use Anchor Pseudo Classes of CSS, you can make a dynamic effect. Its label is as follows: remember that the two attributes are separated by ";". For detailed attribute value settings, see common CSS attributes (Properties) and the set value list.
Original 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}
Display result
Click Here!
Attribute category
A: link is A normal connection.
A: visited indicates the Accessed connection.
A: hover indicates moving the mouse over the connection.
A: "active" indicates the following connection:
Color indicates the connection color.
Font-size indicates the size of the connected text. It is applicable to point (pt) or pixels (px)
Text-decoration indicates the text style, and none indicates that there is no underline
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.