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 8937629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:26:51+00:00 2026-06-15T10:26:51+00:00

After years of using the <a> tag I’ve never found an answer to a

  • 0

After years of using the <a> tag I’ve never found an answer to a long-asked question.

To crack down on the stylings of a <a> tag I usually apply four styles:

.element:link{text-decoration:none;color:#CCC;}
.element:hover{text-decoration:none;color:#CCC;}
.element:active{text-decoration:none;color:#CCC;}
.element:visited{text-decoration:none;color:#CCC;}

Because as most of you probably know, browsers tend to apply a default underline and royal blue colour to links.

When I say What is the bare minimum styling for a element is there a way I don’t have to apply all of these styles? Will the :hover, :active and :visited inherit the :link style? and is it compatible across all browsers?

P.S.

I know that the above is the same as

.element:link, .element:hover, .element:active, .element:visited{text-decoration:none;color:#CCC;}

So please don’t answer with that (:

  • 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-15T10:26:52+00:00Added an answer on June 15, 2026 at 10:26 am

    The bare minimum is no styling at all — so that the browser will automatically apply its default styles.

    The usual default is indeed royal blue for link, red or purple for visited, and nothing in particular for the rest.

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

Sidebar

Related Questions

After about 10 years of using managed memory and functional languages, I'm finally coming
after using own custom cms for over 6 years, I decided to go for
I've recently returned to C/C++ after years of C#. During those years I've found
Kinda of embarrassing to ask this question after few years working with Hibernate... I
I have my first JSP page after a couple of years using those framework.
I'm coming back to C++ after long years spent on other technologies and i'm
After almost two years of using DVCS, it seems that one inherent flaw is
After many years of working on a general-purpose C++ library using the Microsoft MSVC
After using vi for the better part of 15 years, I tried Rob Pike's
After many many years of using Classic ASP, I am attempting to delve into

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.