Home  >  Article  >  Web Front-end  >  Ask a question about css style theory_html/css_WEB-ITnose

Ask a question about css style theory_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:26:161191browse

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.

Statement:
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