Ask a question about css style theory_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:26:16
Original
1200 people have browsed it

a:link,a:visited{color:#5F5F5F; text-decoration:none;}
a:hover{text-decoration:underline;}


Please tell me a:link ,a:visited What does "link, visited and hover respectively" mean? Please explain it in the most popular terms. Thank you

Why do you write it like this? Asking for answers from experts


Reply to discussion (solution)


link Hyperlink style when not clicked

a:hover When the mouse is placed on the link Uptime style

a:active Style when a link is clicked

a:visited Style when a link is clicked

However, due to security reasons, current browsers Some styles no longer support

This is a cluster selector. You can also write a:link and a:hover separately.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!