Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8380665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:30:54+00:00 2026-06-09T16:30:54+00:00

There are many css-samples for styling color of links. html5boilerplate.com offers such css code

  • 0

There are many css-samples for styling color of links.

html5boilerplate.com offers such css code for link:

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }​

Is it good enough for most cases?

Or maybe better css-code exist for styling color of links?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T16:30:56+00:00Added an answer on June 9, 2026 at 4:30 pm

    That’s definitely will suffice in vast majority of cases.

    Just keep in mind that the correct order of styles for links is:

    a:link           { color: #c00 }  /* unvisited links       */
    a:visited        { color: #0c0 }  /* visited links         */
    a:hover, a:focus { color: #00c }  /* user hovers, or focus */
    a:active         { color: #ccc }  /* active links          */
    

    The outline might look “ugly” for you, but that’s a very important accessibility feature. If you remove that – please take care of providing an alternative way to properly distinguish the current element (bigger/bolder font, high contrast background etc.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are many threads and samples out there about typeahead ( https://gist.github.com/1866739 ) and
There are many ways we can deal with CSS browser compatibility issue. Such as
There seems to be too many attributes/parameters in CSS... I want to know all
I know there are many JS/CSS minification tools out there, but I'm looking for
With CSS Mega Menus, there are many possibilities. But it also mean that I
In Yii there are many different ways to get CSS into your pages. The
Though there are many ways of doing this with CSS/JS, is there a way
I want to change background/foreground color of many symbols with the same CSS class.
I know there is many questions about CSS inheritance but none of what i
Sorry to have to ask this since there are many CSS 100% height questions

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.